From 46045df10511041c9ca69d6d2fdf12dcad0ae89a Mon Sep 17 00:00:00 2001 From: dinglinhe Date: Sat, 17 Apr 2021 17:34:01 +0800 Subject: [PATCH] update document of tan --- mindspore/ops/operations/math_ops.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mindspore/ops/operations/math_ops.py b/mindspore/ops/operations/math_ops.py index 4fc80e35f8..faf795120e 100644 --- a/mindspore/ops/operations/math_ops.py +++ b/mindspore/ops/operations/math_ops.py @@ -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.