# chainerx.absolute_error¶

chainerx.absolute_error()

Element-wise absolute error function.

Computes the element-wise absolute error $$L$$ between two inputs $$x_1$$ and $$x_2$$ defined as follows.

$L = |x_1 - x_2|$
Parameters
Returns

A variable holding an array representing the absolute error of two inputs.

Return type

ndarray