fit_a_nef.metrics.mae

fit_a_nef.metrics.mae(a: Array, b: Array) Array

Vectorized version of mae. Takes similar arguments as mae but with additional array axes over which mae is mapped.

Original documentation:

Returns the Mean Absolute Error between a and b.

param a:

First image (or set of images).

type a:

jax.Array

param b:

Second image (or set of images).

type b:

jax.Array

return:

MAE between a and b.

rtype:

jax.Array