編輯

共用方式為


MPSCnnLossDescriptor.Create(MPSCnnLossType, MPSCnnReductionType) Method

Definition

[Foundation.Export("cnnLossDescriptorWithType:reductionType:")]
public static MetalPerformanceShaders.MPSCnnLossDescriptor Create (MetalPerformanceShaders.MPSCnnLossType lossType, MetalPerformanceShaders.MPSCnnReductionType reductionType);
static member Create : MetalPerformanceShaders.MPSCnnLossType * MetalPerformanceShaders.MPSCnnReductionType -> MetalPerformanceShaders.MPSCnnLossDescriptor

Parameters

lossType
MPSCnnLossType
reductionType
MPSCnnReductionType

Returns

Attributes

Applies to