tabensemb.model.AbstractNN.before_loss_fn# method AbstractNN.before_loss_fn(y, yhat)[source]# Treatments on the prediction and the ground truth before passing them to loss_fn(). Parameters: yThe prediction from forward(). yhatThe ground truth. Returns: torch.TensorThe processed prediction torch.TensorThe processed ground truth