ReLU: : ReLU

View source: R/activations.R

ReLUR Documentation

: ReLU

Description

The ReLU activation function

Usage

ReLU(x)

Arguments

x

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

Value

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

Examples

ReLU(5)
ReLU(-5)


nnR documentation built on May 29, 2024, 2:02 a.m.

Related to ReLU in nnR...