mindelec.loss

Constraints and loss functions.

API Name

Description

Supported Platforms

mindelec.loss.Constraints

Definition of the loss for all sub-dataset.

Ascend

mindelec.loss.NetWithEval

Encapsulation class of network with loss of eval.

Ascend

mindelec.loss.NetWithLoss

Encapsulation class of network with loss.

Ascend

mindelec.loss.get_loss_metric

Gets the loss function.

Ascend