MPSCnnBinaryFullyConnectedNode.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Create(MPSNNImageNode, IMPSCnnConvolutionDataSource, Single, MPSCnnBinaryConvolutionType, MPSCnnBinaryConvolutionFlags)
[Foundation.Export("nodeWithSource:weights:scaleValue:type:flags:")]
public static MetalPerformanceShaders.MPSCnnBinaryFullyConnectedNode Create (MetalPerformanceShaders.MPSNNImageNode sourceNode, MetalPerformanceShaders.IMPSCnnConvolutionDataSource weights, float scaleValue, MetalPerformanceShaders.MPSCnnBinaryConvolutionType type, MetalPerformanceShaders.MPSCnnBinaryConvolutionFlags flags);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.IMPSCnnConvolutionDataSource * single * MetalPerformanceShaders.MPSCnnBinaryConvolutionType * MetalPerformanceShaders.MPSCnnBinaryConvolutionFlags -> MetalPerformanceShaders.MPSCnnBinaryFullyConnectedNode
參數
- sourceNode
- MPSNNImageNode
- weights
- IMPSCnnConvolutionDataSource
- scaleValue
- Single
傳回
- 屬性
適用於
Create(MPSNNImageNode, IMPSCnnConvolutionDataSource, Single[], Single[], Single[], Single[], MPSCnnBinaryConvolutionType, MPSCnnBinaryConvolutionFlags)
[ObjCRuntime.TV(11, 3)]
public static MetalPerformanceShaders.MPSCnnBinaryFullyConnectedNode Create (MetalPerformanceShaders.MPSNNImageNode sourceNode, MetalPerformanceShaders.IMPSCnnConvolutionDataSource weights, float[] outputBiasTerms, float[] outputScaleTerms, float[] inputBiasTerms, float[] inputScaleTerms, MetalPerformanceShaders.MPSCnnBinaryConvolutionType type, MetalPerformanceShaders.MPSCnnBinaryConvolutionFlags flags);
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.IMPSCnnConvolutionDataSource * single[] * single[] * single[] * single[] * MetalPerformanceShaders.MPSCnnBinaryConvolutionType * MetalPerformanceShaders.MPSCnnBinaryConvolutionFlags -> MetalPerformanceShaders.MPSCnnBinaryFullyConnectedNode
參數
- sourceNode
- MPSNNImageNode
- weights
- IMPSCnnConvolutionDataSource
- outputBiasTerms
- Single[]
- outputScaleTerms
- Single[]
- inputBiasTerms
- Single[]
- inputScaleTerms
- Single[]
傳回
- 屬性