Share via


MPSCnnLossDescriptor.Create(MPSCnnLossType, MPSCnnReductionType) Method

Definition

[Foundation.Export("cnnLossDescriptorWithType:reductionType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnLossDescriptor Create(MetalPerformanceShaders.MPSCnnLossType lossType, MetalPerformanceShaders.MPSCnnReductionType reductionType);
[<Foundation.Export("cnnLossDescriptorWithType:reductionType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnReductionType -> MetalPerformanceShaders.MPSCnnLossDescriptor

Parameters

lossType
MPSCnnLossType
reductionType
MPSCnnReductionType

Returns

Attributes

Applies to