One Logo Pool Ball
CoreML · IOS API REFERENCE

MLState

class · iOS 18.0+ · SDK 27.1

class MLState

Members (1)

method · iOS 18.0+

withMultiArray

TypeScript
withMultiArray(stateName: string, body: ((arg0: MLMultiArray) => unknown)): unknown
Swift declaration
func withMultiArray<R>(for stateName: String, _ body: (MLMultiArray) throws -> R) rethrows -> R

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MLState.withMultiArray(_:)

callback cannot propagate synchronous failure

MLState.init()

inherited init: clang: 'init' is unavailable

All CoreML types →