pytaco.tensor_cosh
- pytaco.tensor_cosh(t1, out_format, dtype=None)
Takes the hyperbolic cosine of each input in the tensor.
This is applied to all elements in the tensor not just non-zeros.
- Parameters
- t1: tensor, array_like
input tensor or array_like object
- out_format: format, mode_format, optional
If a
format
is specified, the result tensor is stored in the format out_format.If a
mode_format
is specified, the result the result tensor has a with all of the dimensions stored in themode_format
passed in.
- dtype: Datatype
The datatype of the output tensor.
- Returns
- hyperbolic_cosine: tensor
The element wise hyperbolic cosine of the input tensor.