chainerx.relu

chainerx.relu()

Rectified Linear Unit function. :param x: Input array. :type x: ~chainerx.ndarray

Returns

Returned array: \(y = \max (0, x)\).

Return type

ndarray

Note

During backpropagation, this function propagates the gradient of the output array to the input array x.