MSELoss#

class pyqit.core.MSELoss(backend=None)[source]#

Bases: BaseLoss

Mean squared error, the Trainer’s default loss.

Select it with Trainer(loss_fn="mse"). Targets have the same shape as the model’s output.

classmethod get_test_params()#

List constructor kwargs used to parametrize this class in the test suite.