MPSCnnDropoutNode.Create Method

Definition

Overloads

Create(MPSNNImageNode)

[Foundation.Export("nodeWithSource:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnDropoutNode Create(MetalPerformanceShaders.MPSNNImageNode source);
[<Foundation.Export("nodeWithSource:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode -> MetalPerformanceShaders.MPSCnnDropoutNode

Parameters

Returns

Attributes

Applies to

Create(MPSNNImageNode, Single)

[Foundation.Export("nodeWithSource:keepProbability:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnDropoutNode Create(MetalPerformanceShaders.MPSNNImageNode source, float keepProbability);
[<Foundation.Export("nodeWithSource:keepProbability:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * single -> MetalPerformanceShaders.MPSCnnDropoutNode

Parameters

keepProbability
Single

Returns

Attributes

Applies to

Create(MPSNNImageNode, Single, UIntPtr, MTLSize)

[Foundation.Export("nodeWithSource:keepProbability:seed:maskStrideInPixels:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnDropoutNode Create(MetalPerformanceShaders.MPSNNImageNode source, float keepProbability, UIntPtr seed, Metal.MTLSize maskStrideInPixels);
[<Foundation.Export("nodeWithSource:keepProbability:seed:maskStrideInPixels:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * single * unativeint * Metal.MTLSize -> MetalPerformanceShaders.MPSCnnDropoutNode

Parameters

keepProbability
Single
seed
UIntPtr

unativeint

maskStrideInPixels
MTLSize

Returns

Attributes

Applies to