編輯

共用方式為


MPSCnnDropoutGradientNode.Create Method

Definition

[Foundation.Export("nodeWithSourceGradient:sourceImage:gradientState:keepProbability:seed:maskStrideInPixels:")]
public static MetalPerformanceShaders.MPSCnnDropoutGradientNode Create (MetalPerformanceShaders.MPSNNImageNode sourceGradient, MetalPerformanceShaders.MPSNNImageNode sourceImage, MetalPerformanceShaders.MPSNNGradientStateNode gradientState, float keepProbability, nuint seed, Metal.MTLSize maskStrideInPixels);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.MPSNNGradientStateNode * single * nuint * Metal.MTLSize -> MetalPerformanceShaders.MPSCnnDropoutGradientNode

Parameters

sourceGradient
MPSNNImageNode
sourceImage
MPSNNImageNode
gradientState
MPSNNGradientStateNode
keepProbability
Single
seed
System.System.UIntPtr System.unativeint
maskStrideInPixels
MTLSize

Returns

Attributes

Applies to