共用方式為


MPSCnnDropoutGradient 建構函式

定義

多載

MPSCnnDropoutGradient(NSCoder)
MPSCnnDropoutGradient(NSObjectFlag)
MPSCnnDropoutGradient(IntPtr)
MPSCnnDropoutGradient(NSCoder, IMTLDevice)
MPSCnnDropoutGradient(IMTLDevice, Single, nuint, MTLSize)

MPSCnnDropoutGradient(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnDropoutGradient (Foundation.NSCoder coder);
new MetalPerformanceShaders.MPSCnnDropoutGradient : Foundation.NSCoder -> MetalPerformanceShaders.MPSCnnDropoutGradient

參數

coder
NSCoder
屬性

適用於

MPSCnnDropoutGradient(NSObjectFlag)

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

參數

適用於

MPSCnnDropoutGradient(IntPtr)

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

參數

handle
IntPtr

nativeint

適用於

MPSCnnDropoutGradient(NSCoder, IMTLDevice)

[Foundation.Export("initWithCoder:device:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnDropoutGradient (Foundation.NSCoder decoder, Metal.IMTLDevice device);
new MetalPerformanceShaders.MPSCnnDropoutGradient : Foundation.NSCoder * Metal.IMTLDevice -> MetalPerformanceShaders.MPSCnnDropoutGradient

參數

decoder
NSCoder
device
IMTLDevice
屬性

適用於

MPSCnnDropoutGradient(IMTLDevice, Single, nuint, MTLSize)

[Foundation.Export("initWithDevice:keepProbability:seed:maskStrideInPixels:")]
[ObjCRuntime.DesignatedInitializer]
public MPSCnnDropoutGradient (Metal.IMTLDevice device, float keepProbability, nuint seed, Metal.MTLSize maskStrideInPixels);
new MetalPerformanceShaders.MPSCnnDropoutGradient : Metal.IMTLDevice * single * nuint * Metal.MTLSize -> MetalPerformanceShaders.MPSCnnDropoutGradient

參數

device
IMTLDevice
keepProbability
Single
seed
System.System.UIntPtr System.unativeint
maskStrideInPixels
MTLSize
屬性

適用於