MLCReductionLayer.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(MLCReductionType, UIntPtr) | |
| Create(MLCReductionType, UIntPtr[]) |
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