未验证 提交 d6e90046 编写于 作者: G GGBond8488 提交者: GitHub

fix pow label, test=document_fix (#54945)

上级 3e3f5d90
...@@ -478,7 +478,7 @@ def pow(x, y, name=None): ...@@ -478,7 +478,7 @@ def pow(x, y, name=None):
def pow_(x, y, name=None): def pow_(x, y, name=None):
""" """
Inplace version of ``pow`` API, the output Tensor will be inplaced with input ``x``. Inplace version of ``pow`` API, the output Tensor will be inplaced with input ``x``.
Please refer to :ref:`api_tensor_pow`. Please refer to :ref:`api_paddle_pow`.
""" """
if isinstance(y, (int, float)): if isinstance(y, (int, float)):
return _C_ops.pow_(x, y) return _C_ops.pow_(x, y)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册