-
Notifications
You must be signed in to change notification settings - Fork 838
Update new python api #5102
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
Update new python api #5102
Conversation
感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-5102.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html |
- 代码示例:该 API 的使用示例代码 | ||
- 函数主体代码:包括输入参数的检查、调用算子的执行逻辑等内容 | ||
|
||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
``` | ||
> 注意:执行单测一定要用 `ctest` 命令,不可直接 `python test_*.py`。 | ||
|
||
对于需要开发 c++ 算子的 API,可以把 c++ 算子的单元测试与 Python API 的单元测试写在一个文件中。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- C++ ,C大写
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
更新飞桨 Python API 开发指南文档