Share via


MLComputePlan.ComputeDeviceUsage Method

Definition

Overloads

ComputeDeviceUsage(MLModelStructureNeuralNetworkLayer)

[Foundation.Export("computeDeviceUsageForNeuralNetworkLayer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreML.MLComputePlanDeviceUsage? ComputeDeviceUsage(CoreML.MLModelStructureNeuralNetworkLayer neuralNetworkLayer);
[<Foundation.Export("computeDeviceUsageForNeuralNetworkLayer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ComputeDeviceUsage : CoreML.MLModelStructureNeuralNetworkLayer -> CoreML.MLComputePlanDeviceUsage
override this.ComputeDeviceUsage : CoreML.MLModelStructureNeuralNetworkLayer -> CoreML.MLComputePlanDeviceUsage

Parameters

Returns

Attributes

Applies to

ComputeDeviceUsage(MLModelStructureProgramOperation)

[Foundation.Export("computeDeviceUsageForMLProgramOperation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreML.MLComputePlanDeviceUsage? ComputeDeviceUsage(CoreML.MLModelStructureProgramOperation programOperation);
[<Foundation.Export("computeDeviceUsageForMLProgramOperation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ComputeDeviceUsage : CoreML.MLModelStructureProgramOperation -> CoreML.MLComputePlanDeviceUsage
override this.ComputeDeviceUsage : CoreML.MLModelStructureProgramOperation -> CoreML.MLComputePlanDeviceUsage

Parameters

Returns

Attributes

Applies to