/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/sdk/ |
H A D | ETCoreMLModelDebugger.mm | 16 #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 D | ETCoreMLModelProfiler.mm | 13 #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 D | ETCoreMLModelDebugInfo.mm | 12 #import "ETCoreMLModelStructurePath.h" 18 - (instancetype)initWithPathToDebugSymbolMap:(NSDictionary<ETCoreMLModelStructurePath *, NSString *… 19 …pathToDebugHandlesMap:(NSDictionary<ETCoreMLModelStructurePath *, NSArray<NSString *> *> *)pathToD… 38 …NSMutableDictionary<ETCoreMLModelStructurePath *, NSString *> *pathToDebugSymbolMap = [NSMutableDi… 44 …ETCoreMLModelStructurePath *path = [[ETCoreMLModelStructurePath alloc] initWithComponents:componen… 50 …NSMutableDictionary<ETCoreMLModelStructurePath *, NSArray<NSString *> *> *pathToDebugHandlesMap = … 62 …ETCoreMLModelStructurePath *path = [[ETCoreMLModelStructurePath alloc] initWithComponents:componen…
|
H A D | ETCoreMLModelDebugInfo.h | 10 @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 D | ETCoreMLModelDebugger.h | 13 @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 D | model_event_logger_impl.mm | 10 #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 D | model_event_logger_impl.h | 33 …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 D | ETCoreMLModelProfiler.h | 14 @class ETCoreMLModelStructurePath; 17 typedef NSDictionary<ETCoreMLModelStructurePath*, ETCoreMLOperationProfilingInfo*> ETCoreMLModelPro… 50 profilingInfoForOperationsAtPaths:(NSArray<ETCoreMLModelStructurePath*>*)paths 57 @property (readonly, copy, nonatomic) NSArray<ETCoreMLModelStructurePath*>* operationPaths;
|
H A D | ETCoreMLModelAnalyzer.mm | 16 #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 D | ETCoreMLModelStructurePath.mm | 8 #import "ETCoreMLModelStructurePath.h" 130 @implementation ETCoreMLModelStructurePath implementation 155 return _underlyingValue == ((ETCoreMLModelStructurePath *)object)->_underlyingValue; 163 … return [[ETCoreMLModelStructurePath allocWithZone:zone] initWithUnderlyingValue:_underlyingValue];
|
H A D | ETCoreMLModelStructurePath.h | 21 @interface ETCoreMLModelStructurePath : NSObject<NSCopying> variable
|
H A D | ETCoreMLModelAnalyzer.h | 19 @class ETCoreMLModelStructurePath;
|
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/test/ |
H A D | ETCoreMLModelDebuggerTests.mm | 11 #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 D | ETCoreMLModelStructurePathTests.mm | 9 #import <ETCoreMLModelStructurePath.h> 63 …ETCoreMLModelStructurePath *modelStructurePath = [[ETCoreMLModelStructurePath alloc] initWithUnder… 75 …ETCoreMLModelStructurePath *modelStructurePath = [[ETCoreMLModelStructurePath alloc] initWithCompo… 83 …ETCoreMLModelStructurePath *modelStructurePath1 = [[ETCoreMLModelStructurePath alloc] initWithUnde… 84 …ETCoreMLModelStructurePath *modelStructurePath2 = [[ETCoreMLModelStructurePath alloc] initWithUnde… 90 …ETCoreMLModelStructurePath *modelStructurePath1 = [[ETCoreMLModelStructurePath alloc] initWithUnde… 91 …ETCoreMLModelStructurePath *modelStructurePath2 = [[ETCoreMLModelStructurePath alloc] initWithUnde…
|
H A D | ETCoreMLModelProfilerTests.mm | 12 #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 D | model_event_logger.h | 12 @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 D | ETCoreMLModelManager.mm | 37 #import "ETCoreMLModelStructurePath.h"
|
/aosp_15_r20/external/executorch/backends/apple/coreml/runtime/workspace/executorchcoreml.xcodeproj/ |
H A D | project.pbxproj | 18 …09C3FAC /* ETCoreMLModelStructurePath.mm in Sources */ = {isa = PBXBuildFile; fileRef = C945E8D62B… 134 …ETCoreMLModelStructurePath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = s… 140 …ETCoreMLModelStructurePath.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 D | CMakeLists.txt | 65 runtime/sdk/ETCoreMLModelStructurePath.mm
|