netmap.model.standardautoencoder.LogCoshLoss¶ class netmap.model.standardautoencoder.LogCoshLoss(*args: Any, **kwargs: Any)[source]¶ Bases: Module __init__()[source]¶ Log-Cosh Loss forward(y_true, y_pred)[source]¶ Compute the Log-Cosh loss. :type y_true: torch.Tensor :param y_true: Ground truth values. :type y_true: torch.Tensor :type y_pred: torch.Tensor :param y_pred: Predicted values. :type y_pred: torch.Tensor Returns: Log-Cosh loss. Return type: torch.Tensor