Skip to content
Merged
Show file tree
Hide file tree
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
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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把图例的标题去掉吧~尽量减少图片的不重要元素,其他没问题啦

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,谢谢指出👌

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.