brainpy.losses.mean_absolute#

brainpy.losses.mean_absolute(outputs, axis=None)[source]#

Computes the mean absolute error between x and y.

Returns

tensor of shape (d_i, …, for i in keep_axis) containing the mean absolute error.