One Logo Pool Ball
CoreML · IOS API REFERENCE

MLModelStructure.NeuralNetwork.Layer

struct · iOS 17.4+ · SDK 27.1

struct Layer

A struct representing the layer in a NeuralNetwork model.

Members (4)

get · iOS 17.4+

inputNames

TypeScript
get inputNames(): Array<string>
Swift declaration
let inputNames: [String]

The input names.

get · iOS 17.4+

outputNames

TypeScript
get outputNames(): Array<string>
Swift declaration
let outputNames: [String]

The output names.

get · iOS 17.4+

name

TypeScript
get name(): string
Swift declaration
let name: String

The layer name.

get · iOS 17.4+

type

TypeScript
get type(): string
Swift declaration
let type: String

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

Skipped declarations

No declarations were skipped in this snapshot.

All CoreML types →