usecandle_core::{Result, Tensor};pubmodbce;pubmodmse;pubtraitLoss{/// Computes the loss value (a scalar) and the gradient of the loss with respect to the predictions.
/// Returns a tuple: (loss_value, d_loss_d_y_pred)
fncompute(&self, y_pred:&Tensor, y_true:&Tensor)->Result<(f32, Tensor)>;}