mean_absolute

Contents

mean_absolute#

class 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.