Skip to content

Commit

Permalink
[Docathon][Add API Legend No.3] 为cast API添加图例 (#6827)
Browse files Browse the repository at this point in the history
* [Docathon][Add API Legend No.3] 为cast API添加图例

* [Docathon][Add API Legend No.3] 为cast API添加图例
  • Loading branch information
GoldenStain authored Aug 19, 2024
1 parent 356bbb4 commit 3202c6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api/paddle/cast_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ cast
将 ``x`` 的数据类型转换为 ``dtype`` 并输出。支持输出和输入的数据类型相同。

下图展示了一个例子:将输入的 float64 类型 Tensor 转化为 uint8 类型 Tensor

.. image:: ../../images/api_legend/cast.png
:alt: 图例

参数
::::::::::::

Expand Down
Binary file added docs/images/api_legend/cast.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3202c6b

Please # to comment.