Closed
test目录下torch.jit.ScriptModule类中bfloat16、buffers、children和code的API的测试用例缺失 #2081
seeingtureAdd on  May 24Closed at  Jun 9
seeingture
seeingture
May 24 Create

环境信息
操作系统:ubuntu
昇腾硬件信息:910B4
CANN软件版本:8.5.0
安装的对应软件版本:2.6.0 2.7.1 2.8.0 2.9.0 2.10.0 2.11.0 2.12.0 master

API功能介绍
bfloat16: 将所有浮点参数和缓冲区转换为bfloat16数据类型。
buffers: 返回模块缓冲区的迭代器。变量recurse(bool)-如果为True,则生成此模块和所有子模块的缓冲区。否则,只生成此模块的直接成员缓冲区。
children: 在直接子模块上返回迭代器。
code:返回forward方法的内部图的漂亮打印表示(作为有效的Python语法)。

社区用例现状
PyTorch 及 torch-npu 官方社区提供的懒加载相关测试用例中,缺失torch.jit.ScriptModule类中bfloat16、buffers、children和code的API测试样例。

likedislike
seeingtureseeingture
May 24 Modify description of issue
seeingtureseeingture
May 24 Modify description of issue
seeingtureseeingture
May 24 Associated pull request
seeingtureseeingture
May 30 Associated pull request
seeingtureseeingture
Jun 2 Associated pull request
seeingtureseeingture
Jun 2 Associated pull request
seeingtureseeingture
Jun 2 Associated pull request
seeingtureseeingture
Jun 2 Associated pull request
seeingtureseeingture
Jun 3 Associated pull request
seeingtureseeingture
Jun 3 Associated pull request
seeingtureseeingture
Jun 9 changed custom state from TODO to DONE
seeingtureseeingture
Jun 9 Close issue
ascend-robotascend-robotCollaborators
Jun 9 Added label: resolved