activation_tanhshrink: Tanhshrink

View source: R/activations.R

activation_tanhshrinkR Documentation

Tanhshrink

Description

Applies the element-wise function: x - tanh(x)

Usage

activation_tanhshrink(x)

Arguments

x

A 'Tensor'. Must be one of the following types: 'float16', 'float32', 'float64'.

Value

A 'Tensor'. Has the same type as 'features'.


henry090/tfaddons documentation built on April 7, 2022, 11:27 p.m.