Contents

makeMachineLearningPipelineState(descriptor:)

Creates a new ML pipeline state with descriptor.

Declaration

func makeMachineLearningPipelineState(descriptor: MTL4MachineLearningPipelineDescriptor) throws -> any MTL4MachineLearningPipelineState

Parameters

  • descriptor:

    A machine learning pipeline state descriptor to use for creating the new pipeline state.

Return Value

A machine learning pipeline state upon success, otherwise this function throws.