Contents

MTL4MachineLearningCommandEncoder

Encodes machine learning model inference commands for a single pass.

Declaration

protocol MTL4MachineLearningCommandEncoder : MTL4CommandEncoder

Mentioned in

Overview

Create a machine learning encoder by calling a factory method of an MTL4CommandBuffer instance, such as makeMachineLearningCommandEncoder().

The dispatchNetwork(intermediatesHeap:) method applies to the machineLearning stage of a machine learning pass. For more information about stages and synchronization, see MTLStages and Resource synchronization.

Topics

Configuring the pass

Running machine learning networks

See Also

Encoding a machine learning pass