Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix docstring of oneflow.pow #8960

Merged
merged 5 commits into from
Aug 19, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions python/oneflow/framework/docstr/math_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down