![]() |
Applies the element-wise function: x - tanh(x)
tfa.activations.tanhshrink(
x: tfa.image.color_ops.TensorLike
) -> tf.Tensor
Args | |
---|---|
features
|
A Tensor . Must be one of the following types:
float16 , float32 , float64 .
|
Returns | |
---|---|
A Tensor . Has the same type as features .
|