HuberLossΒΆ

Computes Huber loss value.

Abstract Signature:

HuberLoss(y_true: Tensor, y_pred: Tensor, delta: float = 1.0)

PyTorch

API: torch.nn.functional.huber_loss
Strategy: Direct Mapping

JAX (Core)

API: optax.huber_loss
Strategy: Direct Mapping

Keras

API: keras.losses.huber
Strategy: Direct Mapping

TensorFlow

API: tf.keras.losses.huber
Strategy: Direct Mapping

Apple MLX

API: mlx.nn.losses.huber_loss
Strategy: Direct Mapping

Flax NNX

API: optax.huber_loss
Strategy: Direct Mapping

PaxML / Praxis

API: optax.huber_loss
Strategy: Direct Mapping