mindspore.ops.Tan =================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/ops/mindspore.ops.Tan.rst :alt: 查看源文件 .. py:class:: mindspore.ops.Tan 逐元素计算输入元素的正切值。 更多参考详见 :func:`mindspore.ops.tan`。 输入: - **input** (Tensor) - 任意维度的输入Tensor。 输出: Tensor,数据shape与 `input` 相同。 当输入类型为bool、int8、uint8、int16、int32、int64时,返回值类型为float32。 否则,返回值类型与输入类型相同。