Learn R Programming

FBMS (version 1.1)

relu: ReLu function

Description

ReLu function

Usage

relu(x)

Value

max(x,0)

Arguments

x

The vector of values

Examples

Run this code
relu(2)

Run the code above in your browser using DataLab