One Logo Pool Ball
CoreML · IOS API REFERENCE

MLModelStructure.Program.Function

struct · iOS 17.4+ · SDK 27.1

struct Function

A struct representing a function in the Program.

Members (2)

get · iOS 17.4+

block

TypeScript
get block(): MLModelStructure_Program_Block
Swift declaration
let block: MLModelStructure.Program.Block

The active block in the function.

get · iOS 17.4+

inputs

TypeScript
get inputs(): Array<MLModelStructure_Program_NamedValueType>
Swift declaration
let inputs: [MLModelStructure.Program.NamedValueType]

The inputs to the function.

Skipped declarations

No declarations were skipped in this snapshot.

All CoreML types →