-
Notifications
You must be signed in to change notification settings - Fork 767
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.15-16] (#6368)
- Loading branch information
Showing
3 changed files
with
39 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,19 @@ | ||
.. _cn_api_paddle_version_xpu: | ||
|
||
xpu | ||
------------------------------- | ||
|
||
.. py:function:: paddle.version.xpu() | ||
获取 paddle 安装包编译时使用的 XPU 版本号。 | ||
|
||
|
||
返回 | ||
:::::::::: | ||
|
||
若 paddle wheel 包为 XPU 版本,则返回 paddle wheel 包编译时使用的 XPU 的版本信息;若 paddle wheel 包为 非 XPU 版本,则返回 ``False`` 。 | ||
|
||
代码示例: | ||
:::::::::: | ||
|
||
COPY-FROM: paddle.version.xpu |
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,18 @@ | ||
.. _cn_api_paddle_version_xpu_xccl: | ||
|
||
xpu_xccl | ||
------------------------------- | ||
|
||
.. py:function:: paddle.version.xpu_xccl() | ||
获取 paddle 安装包编译时使用的 XPU xccl 版本号。 | ||
|
||
返回 | ||
:::::::::: | ||
|
||
若 paddle wheel 包为 XPU 版本,则返回 paddle wheel 包编译时使用的 XPU xccl 版本信息;若 paddle wheel 包为 非 XPU 版本,则返回 ``False`` 。 | ||
|
||
代码示例: | ||
:::::::::: | ||
|
||
COPY-FROM: paddle.version.xpu_xccl |