Home
last modified time | relevance | path

Searched refs:ETCoreMLModelStructurePath (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/sdk/
H A DETCoreMLModelDebugger.mm16 #import "ETCoreMLModelStructurePath.h"
28 typedef ETCoreMLPair<MLModel *, NSArray<ETCoreMLModelStructurePath *> *> DebuggableModel;
195 … BOOL (^handler)(const MILSpec::Operation& operation, ETCoreMLModelStructurePath *path)) {
203 …if (!handler(operation, [[ETCoreMLModelStructurePath alloc] initWithUnderlyingValue:operation_path…
215 …l& model, BOOL (^handler)(const MILSpec::Operation& operation, ETCoreMLModelStructurePath *path)) {
250 NSArray<ETCoreMLModelStructurePath *> *paths) {
252 for (ETCoreMLModelStructurePath *path in paths) {
291 … NSArray<ETCoreMLModelStructurePath *> *paths,
295 for (ETCoreMLModelStructurePath *path in paths) {
335 NSArray<NSString *> *get_output_names(NSArray<ETCoreMLModelStructurePath *> *paths) {
[all …]
H A DETCoreMLModelProfiler.mm13 #import "ETCoreMLModelStructurePath.h"
57 … BOOL (^handler)(MLModelStructureProgramOperation *operation, ETCoreMLModelStructurePath *path)) {
61 …if (!handler(operation, [[ETCoreMLModelStructurePath alloc] initWithUnderlyingValue:operation_path…
74 …, BOOL (^handler)(MLModelStructureProgramOperation *operation, ETCoreMLModelStructurePath *path)) {
134 NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationProfilingInfo *> *
136 … NSDictionary<NSValue *, ETCoreMLModelStructurePath *> *operation_to_path_map,
138 …NSMutableDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationProfilingInfo *> *result = [NSM…
146 ETCoreMLModelStructurePath *path = operation_to_path_map[key];
162 NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationProfilingInfo *> *
163 get_profiling_infos_for_paths(NSSet<ETCoreMLModelStructurePath *> *paths,
[all …]
H A DETCoreMLModelDebugInfo.mm12 #import "ETCoreMLModelStructurePath.h"
18 - (instancetype)initWithPathToDebugSymbolMap:(NSDictionary<ETCoreMLModelStructurePath *, NSString *…
19 …pathToDebugHandlesMap:(NSDictionary<ETCoreMLModelStructurePath *, NSArray<NSString *> *> *)pathToD…
38 …NSMutableDictionary<ETCoreMLModelStructurePath *, NSString *> *pathToDebugSymbolMap = [NSMutableDi…
44ETCoreMLModelStructurePath *path = [[ETCoreMLModelStructurePath alloc] initWithComponents:componen…
50 …NSMutableDictionary<ETCoreMLModelStructurePath *, NSArray<NSString *> *> *pathToDebugHandlesMap = …
62ETCoreMLModelStructurePath *path = [[ETCoreMLModelStructurePath alloc] initWithComponents:componen…
H A DETCoreMLModelDebugInfo.h10 @class ETCoreMLModelStructurePath;
27 - (instancetype)initWithPathToDebugSymbolMap:(NSDictionary<ETCoreMLModelStructurePath*, NSString*>*…
29 … (NSDictionary<ETCoreMLModelStructurePath*, NSArray<NSString*>*>*)pathToDebugHandlesMap
39 @property (readonly, strong, nonatomic) NSDictionary<ETCoreMLModelStructurePath*, NSString*>* pathT…
43 NSDictionary<ETCoreMLModelStructurePath*, NSArray<NSString*>*>* pathToDebugHandlesMap;
H A DETCoreMLModelDebugger.h13 @class ETCoreMLModelStructurePath;
15 typedef NSDictionary<ETCoreMLModelStructurePath*, MLMultiArray*> ETCoreMLModelOutputs;
52 outputsOfOperationsAtPaths:(NSArray<ETCoreMLModelStructurePath*>*)paths
59 @property (readonly, copy, nonatomic) NSArray<ETCoreMLModelStructurePath*>* operationPaths;
63 NSDictionary<ETCoreMLModelStructurePath*, NSString*>* operationPathToDebugSymbolMap;
H A Dmodel_event_logger_impl.mm10 #import "ETCoreMLModelStructurePath.h"
85 void ModelEventLoggerImpl::log_profiling_infos(NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLO…
86 …NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_name_map) const no…
87 …[op_path_to_profiling_info_map enumerateKeysAndObjectsUsingBlock:^(ETCoreMLModelStructurePath *pat…
111 void ModelEventLoggerImpl::log_intermediate_tensors(NSDictionary<ETCoreMLModelStructurePath *, MLMu…
112 …NSDictionary<ETCoreMLModelStructurePath*, NSString*> *op_path_to_debug_symbol_name_map) const noex…
113 [op_path_to_value_map enumerateKeysAndObjectsUsingBlock:^(ETCoreMLModelStructurePath *path,
H A Dmodel_event_logger_impl.h33 …NSDictionary<ETCoreMLModelStructurePath*, ETCoreMLOperationProfilingInfo*>* op_path_to_profiling_i…
34 …NSDictionary<ETCoreMLModelStructurePath*, NSString*>* op_path_to_debug_symbol_name_map) const noex…
43 NSDictionary<ETCoreMLModelStructurePath*, MLMultiArray*>* op_path_to_value_map,
44 …NSDictionary<ETCoreMLModelStructurePath*, NSString*>* op_path_to_debug_symbol_map) const noexcept …
H A DETCoreMLModelProfiler.h14 @class ETCoreMLModelStructurePath;
17 typedef NSDictionary<ETCoreMLModelStructurePath*, ETCoreMLOperationProfilingInfo*> ETCoreMLModelPro…
50 profilingInfoForOperationsAtPaths:(NSArray<ETCoreMLModelStructurePath*>*)paths
57 @property (readonly, copy, nonatomic) NSArray<ETCoreMLModelStructurePath*>* operationPaths;
H A DETCoreMLModelAnalyzer.mm16 #import "ETCoreMLModelStructurePath.h"
107 NSArray<ETCoreMLModelStructurePath *> *operationPaths = self.profiler.operationPaths;
147 NSArray<ETCoreMLModelStructurePath *> *operationPaths = self.debugger.operationPaths;
148 …NSDictionary<ETCoreMLModelStructurePath *, NSString *> *operationPathToDebugSymbolMap = self.debug…
H A DETCoreMLModelStructurePath.mm8 #import "ETCoreMLModelStructurePath.h"
130 @implementation ETCoreMLModelStructurePath implementation
155 return _underlyingValue == ((ETCoreMLModelStructurePath *)object)->_underlyingValue;
163 … return [[ETCoreMLModelStructurePath allocWithZone:zone] initWithUnderlyingValue:_underlyingValue];
H A DETCoreMLModelStructurePath.h21 @interface ETCoreMLModelStructurePath : NSObject<NSCopying> variable
H A DETCoreMLModelAnalyzer.h19 @class ETCoreMLModelStructurePath;
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/test/
H A DETCoreMLModelDebuggerTests.mm11 #import <ETCoreMLModelStructurePath.h>
21 using NotifyFn = std::function<void(NSDictionary<ETCoreMLModelStructurePath *, MLMultiArray *> *op_…
22 … NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_name_map)>;
30 …void log_profiling_infos(NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationProfilingInfo…
31 …NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_name_map) const no…
33 …void log_intermediate_tensors(NSDictionary<ETCoreMLModelStructurePath *, MLMultiArray *> *op_path_…
34 …NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_map) const noexcep…
42 ETCoreMLModelStructurePath *make_path_with_output_name(const std::string& output_name,
50 return [[ETCoreMLModelStructurePath alloc] initWithUnderlyingValue:std::move(path)];
53 void add_debugging_result(NSDictionary<ETCoreMLModelStructurePath *, MLMultiArray *> *debugging_res…
[all …]
H A DETCoreMLModelStructurePathTests.mm9 #import <ETCoreMLModelStructurePath.h>
63ETCoreMLModelStructurePath *modelStructurePath = [[ETCoreMLModelStructurePath alloc] initWithUnder…
75ETCoreMLModelStructurePath *modelStructurePath = [[ETCoreMLModelStructurePath alloc] initWithCompo…
83ETCoreMLModelStructurePath *modelStructurePath1 = [[ETCoreMLModelStructurePath alloc] initWithUnde…
84ETCoreMLModelStructurePath *modelStructurePath2 = [[ETCoreMLModelStructurePath alloc] initWithUnde…
90ETCoreMLModelStructurePath *modelStructurePath1 = [[ETCoreMLModelStructurePath alloc] initWithUnde…
91ETCoreMLModelStructurePath *modelStructurePath2 = [[ETCoreMLModelStructurePath alloc] initWithUnde…
H A DETCoreMLModelProfilerTests.mm12 #import <ETCoreMLModelStructurePath.h>
22 using NotifyFn = std::function<void(NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationPro…
23 … NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_name_map)>;
31 …void log_profiling_infos(NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationProfilingInfo…
32 …NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_name_map) const no…
36 …void log_intermediate_tensors(NSDictionary<ETCoreMLModelStructurePath *, MLMultiArray *> *op_path_…
37 …NSDictionary<ETCoreMLModelStructurePath *, NSString *> *op_path_to_debug_symbol_name_map) const no…
43 ETCoreMLModelStructurePath *make_path_with_output_name(const std::string& output_name,
51 return [[ETCoreMLModelStructurePath alloc] initWithUnderlyingValue:std::move(path)];
107 …NotifyFn notify = [](NSDictionary<ETCoreMLModelStructurePath *, ETCoreMLOperationProfilingInfo *> …
[all …]
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/delegate/
H A Dmodel_event_logger.h12 @class ETCoreMLModelStructurePath;
30 …NSDictionary<ETCoreMLModelStructurePath*, ETCoreMLOperationProfilingInfo*>* op_path_to_profiling_i…
31 …NSDictionary<ETCoreMLModelStructurePath*, NSString*>* op_path_to_debug_symbol_name_map) const noex…
40 NSDictionary<ETCoreMLModelStructurePath*, MLMultiArray*>* op_path_to_value_map,
41 …NSDictionary<ETCoreMLModelStructurePath*, NSString*>* op_path_to_debug_symbol_name_map) const noex…
H A DETCoreMLModelManager.mm37 #import "ETCoreMLModelStructurePath.h"
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/workspace/executorchcoreml.xcodeproj/
H A Dproject.pbxproj18 …09C3FAC /* ETCoreMLModelStructurePath.mm in Sources */ = {isa = PBXBuildFile; fileRef = C945E8D62B…
134ETCoreMLModelStructurePath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = s…
140ETCoreMLModelStructurePath.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = …
347 C945E8D02B997ECD009C3FAC /* ETCoreMLModelStructurePath.h */,
348 C945E8D62B997ECD009C3FAC /* ETCoreMLModelStructurePath.mm */,
745 C945E8E32B997ECE009C3FAC /* ETCoreMLModelStructurePath.mm in Sources */,
/aosp_15_r20/external/executorch/backends/apple/coreml/
H A DCMakeLists.txt65 runtime/sdk/ETCoreMLModelStructurePath.mm