<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.1.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLModelStructureNeuralNetworkLayer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "c:objc(cs)MLModelStructureNeuralNetworkLayer"
  },
  "title" : "MLModelStructureNeuralNetworkLayer"
}
-->

# MLModelStructureNeuralNetworkLayer

A class representing a layer in a NeuralNetwork.

```
@interface MLModelStructureNeuralNetworkLayer : NSObject
```

## Topics

### Accessing the network layer properties

[`inputNames`](/documentation/CoreML/MLModelStructureNeuralNetworkLayer/inputNames)

The input names.

[`name`](/documentation/CoreML/MLModelStructureNeuralNetworkLayer/name)

The layer name.

[`outputNames`](/documentation/CoreML/MLModelStructureNeuralNetworkLayer/outputNames)

The output names.

[`type`](/documentation/CoreML/MLModelStructureNeuralNetworkLayer/type)

The type of the layer, e,g, “elementwise”, “pooling”, etc.



---

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)