MeanSquaredLogarithmicErrorΒΆ

Computes the mean squared logarithmic error between y_true & y_pred.

Abstract Signature:

MeanSquaredLogarithmicError(y_true: Tensor, y_pred: Tensor)

PyTorch

API: β€”
Strategy: Macro 'torch.nn.functional.mse_loss(torch.log1p({y_true}), torch.log1p({y_pred}), reduction='none')'

JAX (Core)

API: β€”
Strategy: Macro 'optax.squared_error(jax.numpy.log1p({y_true}), jax.numpy.log1p({y_pred}))'

Keras

API: keras.losses.mean_squared_logarithmic_error
Strategy: Direct Mapping

TensorFlow

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

Flax NNX

API: β€”
Strategy: Macro 'optax.squared_error(jax.numpy.log1p({y_true}), jax.numpy.log1p({y_pred}))'

PaxML / Praxis

API: β€”
Strategy: Macro 'optax.squared_error(jax.numpy.log1p({y_true}), jax.numpy.log1p({y_pred}))'