Learn R Programming

nnR (version 0.1.0)

ReLU: : ReLU

Description

The ReLU activation function

Usage

ReLU(x)

Value

The output of the standard ReLU function, i.e. \(\max\{0,x\}\). See also Sigmoid. and Tanh.

Arguments

x

A real number that is the input to our ReLU function.

Examples

Run this code
ReLU(5)
ReLU(-5)

Run the code above in your browser using DataLab