Learn R Programming

nnR (version 0.1.0)

Tanh: Tanh

Description

The tanh activation function

Usage

Tanh(x)

Value

the \(tanh\) of x. See also Sigmoid and ReLU.

Arguments

x

a real number

Examples

Run this code
Tanh(0)
Tanh(0.1)

Run the code above in your browser using DataLab