Share via


MLCUpsampleLayer.Create Method

Definition

Overloads

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

Applies to