Edit

Share via


MPSCnnBinaryConvolutionNode.Create Method

Definition

Overloads

Create(MPSNNImageNode, IMPSCnnConvolutionDataSource, Single, MPSCnnBinaryConvolutionType, MPSCnnBinaryConvolutionFlags)
Create(MPSNNImageNode, IMPSCnnConvolutionDataSource, Single[], Single[], Single[], Single[], MPSCnnBinaryConvolutionType, MPSCnnBinaryConvolutionFlags)

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

Parameters

sourceNode
MPSNNImageNode
scaleValue
Single

Returns

Attributes

Applies to

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

Parameters

sourceNode
MPSNNImageNode
outputBiasTerms
Single[]
outputScaleTerms
Single[]
inputBiasTerms
Single[]
inputScaleTerms
Single[]

Returns

Attributes

Applies to