Editar

Compartilhar via


MPSCnnLossLabels Constructors

Definition

Overloads

MPSCnnLossLabels(NSObjectFlag)
MPSCnnLossLabels(IntPtr)
MPSCnnLossLabels(IMTLDevice, MPSCnnLossDataDescriptor)
MPSCnnLossLabels(IMTLDevice, MTLSize, MPSCnnLossDataDescriptor, MPSCnnLossDataDescriptor)

MPSCnnLossLabels(NSObjectFlag)

protected MPSCnnLossLabels (Foundation.NSObjectFlag t);
new MetalPerformanceShaders.MPSCnnLossLabels : Foundation.NSObjectFlag -> MetalPerformanceShaders.MPSCnnLossLabels

Parameters

Applies to

MPSCnnLossLabels(IntPtr)

protected internal MPSCnnLossLabels (IntPtr handle);
new MetalPerformanceShaders.MPSCnnLossLabels : nativeint -> MetalPerformanceShaders.MPSCnnLossLabels

Parameters

handle
IntPtr

nativeint

Applies to

MPSCnnLossLabels(IMTLDevice, MPSCnnLossDataDescriptor)

[Foundation.Export("initWithDevice:labelsDescriptor:")]
public MPSCnnLossLabels (Metal.IMTLDevice device, MetalPerformanceShaders.MPSCnnLossDataDescriptor labelsDescriptor);
new MetalPerformanceShaders.MPSCnnLossLabels : Metal.IMTLDevice * MetalPerformanceShaders.MPSCnnLossDataDescriptor -> MetalPerformanceShaders.MPSCnnLossLabels

Parameters

device
IMTLDevice
labelsDescriptor
MPSCnnLossDataDescriptor
Attributes

Applies to

MPSCnnLossLabels(IMTLDevice, MTLSize, MPSCnnLossDataDescriptor, MPSCnnLossDataDescriptor)

[Foundation.Export("initWithDevice:lossImageSize:labelsDescriptor:weightsDescriptor:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnLossLabels (Metal.IMTLDevice device, Metal.MTLSize lossImageSize, MetalPerformanceShaders.MPSCnnLossDataDescriptor labelsDescriptor, MetalPerformanceShaders.MPSCnnLossDataDescriptor weightsDescriptor);
new MetalPerformanceShaders.MPSCnnLossLabels : Metal.IMTLDevice * Metal.MTLSize * MetalPerformanceShaders.MPSCnnLossDataDescriptor * MetalPerformanceShaders.MPSCnnLossDataDescriptor -> MetalPerformanceShaders.MPSCnnLossLabels

Parameters

device
IMTLDevice
lossImageSize
MTLSize
labelsDescriptor
MPSCnnLossDataDescriptor
weightsDescriptor
MPSCnnLossDataDescriptor
Attributes

Applies to