relu: ReLu function

View source: R/nonlinear_functions.R

reluR Documentation

ReLu function

Description

ReLu function

Usage

relu(x)

Arguments

x

The vector of values

Value

max(x,0)

Examples

relu(2)


FBMS documentation built on Sept. 13, 2025, 1:09 a.m.