SwiftcaseCoreMLCoreML.MLComputeFunction.ExecutionPolicy.Policy

userDerived

case userDerived(([CoreML.MLTensor.Descriptor], [CoreML.MLTensor.Descriptor], MTLComputePipelineState) -> (threadsPerGrid: MTLSize, threadsPerThreadgroup: MTLSize))

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

result{}

function([CoreML.MLTensor.Descriptor], [CoreML.MLTensor.Descriptor], MTLComputePipelineState) -> (threadsPerGrid: MTLSize, threadsPerThreadgroup: MTLSize)escaping