Share via


MLCReductionLayer.Create Method

Definition

Overloads

Create(MLCReductionType, UIntPtr)

[Foundation.Export("layerWithReductionType:dimension:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCReductionLayer? Create(MLCompute.MLCReductionType reductionType, UIntPtr dimension);
[<Foundation.Export("layerWithReductionType:dimension:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MLCompute.MLCReductionType * unativeint -> MLCompute.MLCReductionLayer

Parameters

reductionType
MLCReductionType
dimension
UIntPtr

unativeint

Returns

Attributes

Applies to

Create(MLCReductionType, UIntPtr[])

[Foundation.Export("layerWithReductionType:dimensions:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCReductionLayer? Create(MLCompute.MLCReductionType reductionType, UIntPtr[] dimensions);
[<Foundation.Export("layerWithReductionType:dimensions:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : MLCompute.MLCReductionType * unativeint[] -> MLCompute.MLCReductionLayer

Parameters

reductionType
MLCReductionType
dimensions

UIntPtr[]

unativeint[]

Returns

Attributes

Applies to