From be9e28a8d62ee4670e3854d96082ee68636dd380 Mon Sep 17 00:00:00 2001 From: YaoChi Date: Thu, 18 Aug 2022 22:36:11 +0800 Subject: [PATCH] fix docstring of oneflow.pow --- python/oneflow/framework/docstr/math_ops.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python/oneflow/framework/docstr/math_ops.py b/python/oneflow/framework/docstr/math_ops.py index 5e9ef5ef13c..6ba51d95c14 100644 --- a/python/oneflow/framework/docstr/math_ops.py +++ b/python/oneflow/framework/docstr/math_ops.py @@ -1134,16 +1134,16 @@ When exponent is a scalar value, the operation applied is: .. math:: - \\text{out}_i = x_i ^ \\text{exponent} -\u200b + \text{out}_i = x_i ^ \text{exponent} + When exponent is a tensor, the operation applied is: .. math:: - \\text{out}_i = x_i ^ {\\text{exponent}_i} + \text{out}_i = x_i ^ {\text{exponent}_i} Args: - - input (Tensor): the input tensor. - - exponent (int, float, Tensor): the exponent. + input (Tensor): the input tensor. + exponent (int, float, Tensor): the exponent. Returns: Tensor: The result of variance on the specified axis of input Tensor