MPSCnnBinaryConvolutionNode.Create Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
Create(MPSNNImageNode, IMPSCnnConvolutionDataSource, Single, MPSCnnBinaryConvolutionType, MPSCnnBinaryConvolutionFlags)
[Foundation.Export("nodeWithSource:weights:scaleValue:type:flags:")]
public static MetalPerformanceShaders.MPSCnnBinaryConvolutionNode 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.MPSCnnBinaryConvolutionNode
Parametri
- sourceNode
- MPSNNImageNode
- weights
- IMPSCnnConvolutionDataSource
- scaleValue
- Single
Restituisce
- Attributi
Si applica a
Create(MPSNNImageNode, IMPSCnnConvolutionDataSource, Single[], Single[], Single[], Single[], MPSCnnBinaryConvolutionType, MPSCnnBinaryConvolutionFlags)
[ObjCRuntime.TV(11, 3)]
public static MetalPerformanceShaders.MPSCnnBinaryConvolutionNode 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.MPSCnnBinaryConvolutionNode
Parametri
- sourceNode
- MPSNNImageNode
- weights
- IMPSCnnConvolutionDataSource
- outputBiasTerms
- Single[]
- outputScaleTerms
- Single[]
- inputBiasTerms
- Single[]
- inputScaleTerms
- Single[]
Restituisce
- Attributi