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

[Docathon][Add Overview Doc No.2] add doc of docathon 2 #6571

Merged
merged 3 commits into from
Apr 7, 2024
Merged
Changes from all commits
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
13 changes: 13 additions & 0 deletions docs/api/paddle/amp/Overview_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ paddle.amp 目录下包含飞桨框架支持的动态图自动混合精度(AMP)
- :ref:`AMP 相关 API <about_amp>`
- :ref:`开启 AMP 后默认转化为 float16 计算的相关 OP <about_amp_white_list_ops>`
- :ref:`开启 AMP 后默认使用 float32 计算的相关 OP <about_amp_black_list_ops>`
- :ref:`AMP 场景下判断设备是否支持特定数据类型 <about_supported>`

paddle.amp 目录下包含 debugging 目录, debugging 目录中存放用于算子模型精度问题定位的 API。具体如下:

Expand Down Expand Up @@ -63,6 +64,18 @@ AMP 相关 API
"cross_entropy", "交叉熵"
"cross_entropy2", "交叉熵"

.. _about_supported:

AMP 场景下判断设备是否支持特定数据类型
:::::::::::::::::::::::

.. csv-table::
:header: "API 名称", "API 功能"
:widths: 10, 30

" :ref:`is_bfloat16_supported <cn_api_paddle_amp_is_bfloat16_supported>` ", "判断设备是否支持 bfloat16"
" :ref:`is_float16_supported <cn_api_paddle_amp_is_float16_supported>` ", "判断设备是否支持 float16"

.. _about_debugging:

Debug 相关辅助类
Expand Down