Contents

stateNames

The names of the function’s states.

Declaration

var stateNames: [String] { get }

Discussion

States are function arguments that the function both reads and writes during inference. You must provide a mutable view for every state when calling InferenceFunction/run(inputs:states:outputViews:).

See Also

Describing state