MPSCnnPoolingNode.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Create(MPSNNImageNode, UIntPtr) | |
| Create(MPSNNImageNode, UIntPtr, UIntPtr) |
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