MLCUpsampleLayer.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(IntPtr[]) | |
| Create(IntPtr[], MLCSampleMode, Boolean) |
Create(IntPtr[])
[Foundation.Export("layerWithShape:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCUpsampleLayer? Create(IntPtr[] shape);
[<Foundation.Export("layerWithShape:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : nativeint[] -> MLCompute.MLCUpsampleLayer
Parameters
- shape
-
IntPtr[]
nativeint[]
Returns
- Attributes
Applies to
Create(IntPtr[], MLCSampleMode, Boolean)
[Foundation.Export("layerWithShape:sampleMode:alignsCorners:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCUpsampleLayer? Create(IntPtr[] shape, MLCompute.MLCSampleMode sampleMode, bool alignsCorners);
[<Foundation.Export("layerWithShape:sampleMode:alignsCorners:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : nativeint[] * MLCompute.MLCSampleMode * bool -> MLCompute.MLCUpsampleLayer
Parameters
- shape
-
IntPtr[]
nativeint[]
- sampleMode
- MLCSampleMode
- alignsCorners
- Boolean
Returns
- Attributes