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
属性

适用于