tf.keras.metrics.mean_absolute_error

Computes the mean absolute error between labels and predictions.

Used in the notebooks

Used in the tutorials

loss = mean(abs(y_true - y_pred), axis=-1)

Standalone usage:

y_true = np.random.ra