forked from PaddlePaddle/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Docathon][Add CN Doc No.52] (PaddlePaddle#6378)
* add a new file square__cn.rst * modified: docs/api/paddle/square__cn.rst * deleted: docs/api/paddle/square__cn.rst * new file: docs/api/paddle/square__cn.rst * modified: docs/api/paddle/square__cn.rst * modified: docs/api/paddle/square__cn.rst * modified: docs/api/paddle/Overview_cn.rst deleted: docs/api/paddle/incubate/nn/FusedMultiTransformer_cn.rst modified: docs/api/paddle/square__cn.rst
- Loading branch information
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. _cn_api_paddle_square_: | ||
|
||
square\_ | ||
------------------------------- | ||
|
||
.. py:function:: paddle.square_(x, name=None) | ||
Inplace 版本的 :ref:`cn_api_paddle_square` API,对输入 x 采用 Inplace 策略。 | ||
|
||
更多关于 inplace 操作的介绍请参考 `3.1.3 原位(Inplace)操作和非原位操作的区别`_ 了解详情。 | ||
|
||
.. _3.1.3 原位(Inplace)操作和非原位操作的区别: https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/guides/beginner/tensor_cn.html#id3 |