Share via


MPSCnnConvolutionNode.Create Method

Definition

[Foundation.Export("nodeWithSource:weights:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnConvolutionNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, MetalPerformanceShaders.IMPSCnnConvolutionDataSource weights);
[<Foundation.Export("nodeWithSource:weights:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * MetalPerformanceShaders.IMPSCnnConvolutionDataSource -> MetalPerformanceShaders.MPSCnnConvolutionNode

Parameters

sourceNode
MPSNNImageNode

Returns

Attributes

Applies to