共用方式為


MPSCnnDropoutNode.Create 方法

定義

多載

Create(MPSNNImageNode)
Create(MPSNNImageNode, Single)
Create(MPSNNImageNode, Single, nuint, MTLSize)

Create(MPSNNImageNode)

[Foundation.Export("nodeWithSource:")]
public static MetalPerformanceShaders.MPSCnnDropoutNode Create (MetalPerformanceShaders.MPSNNImageNode source);
static member Create : MetalPerformanceShaders.MPSNNImageNode -> MetalPerformanceShaders.MPSCnnDropoutNode

參數

傳回

屬性

適用於

Create(MPSNNImageNode, Single)

[Foundation.Export("nodeWithSource:keepProbability:")]
public static MetalPerformanceShaders.MPSCnnDropoutNode Create (MetalPerformanceShaders.MPSNNImageNode source, float keepProbability);
static member Create : MetalPerformanceShaders.MPSNNImageNode * single -> MetalPerformanceShaders.MPSCnnDropoutNode

參數

keepProbability
Single

傳回

屬性

適用於

Create(MPSNNImageNode, Single, nuint, MTLSize)

[Foundation.Export("nodeWithSource:keepProbability:seed:maskStrideInPixels:")]
public static MetalPerformanceShaders.MPSCnnDropoutNode Create (MetalPerformanceShaders.MPSNNImageNode source, float keepProbability, nuint seed, Metal.MTLSize maskStrideInPixels);
static member Create : MetalPerformanceShaders.MPSNNImageNode * single * nuint * Metal.MTLSize -> MetalPerformanceShaders.MPSCnnDropoutNode

參數

keepProbability
Single
seed
System.System.UIntPtr System.unativeint
maskStrideInPixels
MTLSize

傳回

屬性

適用於