MPSCnnDropoutNode.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- source
- MPSNNImageNode
傳回
- 屬性
適用於
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
參數
- source
- MPSNNImageNode
- 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
參數
- source
- MPSNNImageNode
- keepProbability
- Single
- seed
- System.System.UIntPtr System.unativeint
- maskStrideInPixels
- MTLSize
傳回
- 屬性