SwiftenumCoreML

enum CoreML.MLComputeFunction.ExecutionPolicy.Policy

Members 5

  1. casecase linearSplit
  2. casecase ndLinearSplit
  3. casecase spatialSplit
  4. casecase userDefined(threadsPerGrid: MTLSize, threadsPerThreadgroup: MTLSize)
  5. casecase userDerived(([CoreML.MLTensor.Descriptor], [CoreML.MLTensor.Descriptor], MTLComputePipelineState) -> (threadsPerGrid: MTLSize, threadsPerThreadgroup: MTLSize))
enum CoreML.MLComputeFunction.ExecutionPolicy.Policy {
    case userDefined(threadsPerGrid: __C.MTLSize, threadsPerThreadgroup: __C.MTLSize)
    case userDerived(([CoreML.MLTensor.Descriptor], [CoreML.MLTensor.Descriptor], any __C.MTLComputePipelineState) -> (threadsPerGrid: __C.MTLSize, threadsPerThreadgroup: __C.MTLSize))
    case linearSplit
    case ndLinearSplit
    case spatialSplit
}