Share via


MPSCnnPoolingNode.Create Method

Definition

Overloads

Create(MPSNNImageNode, UIntPtr)

[Foundation.Export("nodeWithSource:filterSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnPoolingNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, UIntPtr size);
[<Foundation.Export("nodeWithSource:filterSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * unativeint -> MetalPerformanceShaders.MPSCnnPoolingNode

Parameters

sourceNode
MPSNNImageNode
size
UIntPtr

unativeint

Returns

Attributes

Applies to

Create(MPSNNImageNode, UIntPtr, UIntPtr)

[Foundation.Export("nodeWithSource:filterSize:stride:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MetalPerformanceShaders.MPSCnnPoolingNode Create(MetalPerformanceShaders.MPSNNImageNode sourceNode, UIntPtr size, UIntPtr stride);
[<Foundation.Export("nodeWithSource:filterSize:stride:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MetalPerformanceShaders.MPSNNImageNode * unativeint * unativeint -> MetalPerformanceShaders.MPSCnnPoolingNode

Parameters

sourceNode
MPSNNImageNode
size
UIntPtr

unativeint

stride
UIntPtr

unativeint

Returns

Attributes

Applies to