diff --git a/backends/apple/coreml/runtime/sdk/ETCoreMLModelProfiler.mm b/backends/apple/coreml/runtime/sdk/ETCoreMLModelProfiler.mm index e381bbb03d1..bf524cfd840 100644 --- a/backends/apple/coreml/runtime/sdk/ETCoreMLModelProfiler.mm +++ b/backends/apple/coreml/runtime/sdk/ETCoreMLModelProfiler.mm @@ -276,6 +276,7 @@ - (nullable instancetype)initWithModel:(ETCoreMLModel *)model self = [super init]; if (self) { _model = model; + _outputNames = model.orderedOutputNames; _computePlan = computePlan; _operationToPathMap = operationToPathMap; _topologicallySortedOperations = topologicallySortedOperations;