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