MPSCnnDropoutGradient 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- 屬性