MLCLossLayer.CreateHuberLoss 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 |
|---|---|
| CreateHuberLoss(MLCReductionType, Single, Single) | |
| CreateHuberLoss(MLCReductionType, Single, MLCTensor) |
CreateHuberLoss(MLCReductionType, Single, Single)
[Foundation.Export("huberLossWithReductionType:delta:weight:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCLossLayer CreateHuberLoss(MLCompute.MLCReductionType reductionType, float delta, float weight);
[<Foundation.Export("huberLossWithReductionType:delta:weight:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateHuberLoss : MLCompute.MLCReductionType * single * single -> MLCompute.MLCLossLayer
Parameters
- reductionType
- MLCReductionType
- delta
- Single
- weight
- Single
Returns
- Attributes
Applies to
CreateHuberLoss(MLCReductionType, Single, MLCTensor)
[Foundation.Export("huberLossWithReductionType:delta:weights:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static MLCompute.MLCLossLayer CreateHuberLoss(MLCompute.MLCReductionType reductionType, float delta, MLCompute.MLCTensor? weights);
[<Foundation.Export("huberLossWithReductionType:delta:weights:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateHuberLoss : MLCompute.MLCReductionType * single * MLCompute.MLCTensor -> MLCompute.MLCLossLayer
Parameters
- reductionType
- MLCReductionType
- delta
- Single
- weights
- MLCTensor
Returns
- Attributes