def relu(x):
    """
    ReLU element-wise activation.
    Args:
        x: array-like, any shape,
           array to compute activations for.

    Returns:
        x_relu: same type and shape as x,
                element wise application of ReLU to x.

    """

    return x * (x > 0)