Getting Started
CLI Tutorials
GUI Tutorial
Features Document
API Reference
Calculates the Mean Squared Error (MSE) loss for regression.
Wrapper for nn.MSELoss.
y_pred (torch.Tensor) – Predicted values.
y_true (torch.Tensor) – True values.
The scalar MSE loss.
torch.Tensor