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

add paddle.iinfo chinese document #5235

Merged

Conversation

OccupyMars2025
Copy link
Contributor

@OccupyMars2025 OccupyMars2025 commented Aug 30, 2022

add paddle.iinfo chinese document
PADDLEPADDLE_PR=45321

@paddle-bot
Copy link

paddle-bot bot commented Aug 30, 2022

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5235.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:[Beta]飞桨文档预览工具

@Ligoml
Copy link
Collaborator

Ligoml commented Sep 6, 2022

  1. 对照英文文档修改意见,同步改下中文文档
  2. 需要在 api_labeloverview 中增加这个API的标签和说明

@OccupyMars2025
Copy link
Contributor Author

OccupyMars2025 commented Sep 7, 2022

done


参数
:::::::::
- **dtype** (paddle.dtype) - 输入的数据类型,只能为:paddle.uint8, paddle.int8, paddle.int16, paddle.int32, and paddle.int64。
Copy link
Collaborator

Choose a reason for hiding this comment

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

数据类型之间的标点符号应为中文的,and 需要翻译

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


返回
:::::::::
一个 ``iinfo`` 对象,其中包含4个属性,如下所示。
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里增加一个空行,保证正常显示,现在的效果:
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


返回一个 ``iinfo`` 对象,该对象包含了输入 ``dtype`` 的各种相关的数值信息。其中输入 ``dtype``

只能是整数类型的 ``paddle.dtype`` 。
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里为什么要折行呢?
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@OccupyMars2025
Copy link
Contributor Author

收到,我尽快处理

@OccupyMars2025
Copy link
Contributor Author

done

Copy link
Collaborator

@Ligoml Ligoml left a comment

Choose a reason for hiding this comment

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

LGTM

@PaddlePaddle PaddlePaddle locked and limited conversation to collaborators Sep 7, 2022
@PaddlePaddle PaddlePaddle unlocked this conversation Sep 7, 2022
@OccupyMars2025
Copy link
Contributor Author

image

@Ligoml Ligoml merged commit f0a5892 into PaddlePaddle:develop Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants