relu: relu transformation

View source: R/activation_functions.R

reluR Documentation

relu transformation

Description

relu transformation

Usage

relu(x)

Arguments

x

A numeric vector or matrix on which relu transformation is going to be applied.

Value

A numeric vector or matrix after relu transformation.

Examples

relu(matrix(1:4, , nrow = 2))

bnns documentation built on April 3, 2025, 6:12 p.m.