MTL4MachineLearningCommandEncoder
Encodes machine learning model inference commands for a single pass.
Declaration
protocol MTL4MachineLearningCommandEncoder : MTL4CommandEncoderMentioned 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.