Return the mean absolute error between pred and target: the average of |pred_i - target_i| over all elements.
pred
target
|pred_i - target_i|
Sign in to write and run your own code.
solve(...)