pytaco.tanh
- pytaco.tanh(e1)
Return the element-wise hyperbolic tangent of the index expression.
The index expression must have a floating point type. If necessary, a user may
cast()
the input expression before applying the function as shown insqrt()
.This must be assigned to a tensor for the computation to be performed.
- Parameters
- e1: index_expression
Input index expression
- Returns
- tanh_expr: index_expression
An index expression representing the element wise hyperbolic tangent of the input expression.