<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLImageClassifier/CustomFeatureExtractor/outputName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML17MLImageClassifierV22CustomFeatureExtractorV10outputNameSSSgvp"
  },
  "title" : "outputName"
}
-->

# outputName

The name of the output from a feature extraction layer within the model.

```
var outputName: String?
```

## Discussion

When training an image classifier with a custom feature extractor, use
[`outputName`](/documentation/CreateML/MLImageClassifier/CustomFeatureExtractor/outputName) to select a layer within the model that has an
output of <doc://com.apple.documentation/documentation/CoreML/MLMultiArray>.

Set [`outputName`](/documentation/CreateML/MLImageClassifier/CustomFeatureExtractor/outputName) to `nil` if the model (specified by
[`modelPath`](/documentation/CreateML/MLImageClassifier/CustomFeatureExtractor/modelPath)) has only one output of type
<doc://com.apple.documentation/documentation/CoreML/MLMultiArray>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)