activation_tanhshrink: Tanhshrink

Description Usage Arguments Value

View source: R/activations.R

Description

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

Usage

1

Arguments

x

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

Value

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


tfaddons documentation built on July 2, 2020, 2:12 a.m.