Contents

makeMachineLearningPipelineState(descriptor:)

Creates a new machine learning pipeline state asynchronously.

Declaration

func makeMachineLearningPipelineState(descriptor: MTL4MachineLearningPipelineDescriptor) async 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.