We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Numpy 从1.20 版本开始不推荐使用内置类型的别名,如np.int、np.bool、np.float、np.complex 等,更多背景信息请参考Numpy 1.20.0 release note,继续使用这些别名会产生一些不必要的warning(如 issue:41745),飞桨计划取消对numpy这些废弃用法的使用,目前我们已经在框架代码中删除了这些废弃的用法(详见pr:42929),但是飞桨框架单测代码以及其他飞桨套件中仍有不少地方仍然使用,如果你对这部分有兴趣,可以尝试升级飞桨代码中对于numpy 的用法。
可参考pr:#42929
飞桨训练推理框架:https://github.com/PaddlePaddle/Paddle
下表显示了不推荐使用的别名的完整列表及其确切含义:
The text was updated successfully, but these errors were encountered:
dingjiaweiww
No branches or pull requests
任务描述:
Numpy 从1.20 版本开始不推荐使用内置类型的别名,如np.int、np.bool、np.float、np.complex 等,更多背景信息请参考Numpy 1.20.0 release note,继续使用这些别名会产生一些不必要的warning(如 issue:41745),飞桨计划取消对numpy这些废弃用法的使用,目前我们已经在框架代码中删除了这些废弃的用法(详见pr:42929),但是飞桨框架单测代码以及其他飞桨套件中仍有不少地方仍然使用,如果你对这部分有兴趣,可以尝试升级飞桨代码中对于numpy 的用法。
飞桨代码修复指南(整体进度 4/4)
np.complexnp.complex128np.objectnp.object_np.strnp.str_可参考pr:#42929
修复范围
飞桨训练推理框架:https://github.com/PaddlePaddle/Paddle
下表显示了不推荐使用的别名的完整列表及其确切含义:
The text was updated successfully, but these errors were encountered: