Contents

init(type:reductionType:)

Creates a loss descriptor with the loss function and reduction type you specify.

Declaration

convenience init(type lossType: MLCLossType, reductionType: MLCReductionType)

Parameters

  • lossType:

    The loss function type.

  • reductionType:

    The reduction operation type.

See Also

Creating Loss Descriptors