Learn R Programming

bnns (version 0.1.2)

relu: relu transformation

Description

relu transformation

Usage

relu(x)

Value

A numeric vector or matrix after relu transformation.

Arguments

x

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

Examples

Run this code
relu(matrix(1:4, , nrow = 2))

Run the code above in your browser using DataLab