Browse Source

!15341 Update document of Tan

From: @dinglinhe123
Reviewed-by: @liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui
pull/15341/MERGE
mindspore-ci-bot Gitee 5 years ago
parent
commit
42bd7abd96
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      mindspore/ops/operations/math_ops.py

+ 4
- 0
mindspore/ops/operations/math_ops.py View File

@@ -3942,6 +3942,10 @@ class Tan(PrimitiveWithInfer):
"""
Computes tangent of `input_x` element-wise.

.. math::

out_i = tan(x_i)

Inputs:
- **input_x** (Tensor) - The shape of tensor is :math:`(x_1, x_2, ..., x_R)`. Data type must be
float16, float32 or int32.


Loading…
Cancel
Save