MPSCnnDropoutNode.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- source
- MPSNNImageNode
Returns
- Attributes
Applies to
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
Parameters
- source
- MPSNNImageNode
- keepProbability
- Single
Returns
- Attributes
Applies to
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
Parameters
- source
- MPSNNImageNode
- keepProbability
- Single
- seed
- System.System.UIntPtr System.unativeint
- maskStrideInPixels
- MTLSize
Returns
- Attributes