[Zero_Dim][unittest] add repeat_interleave unittest for zero_dim by xysheng-baidu · Pull Request #49596 · PaddlePaddle/Paddle
你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个写到test_zero_dim_tensor.py里吧,方便统一管理
需要测这几种case:
- x为0D,repeat为int,axis为None
- x为0D,,repeat为1D Tensor,axis为None
- 需要测反向,加stop_gradient=False
测试时直接比对shape吧
这个写到test_zero_dim_tensor.py里吧,方便统一管理 需要测这几种case:
- x为0D,repeat为int,axis为None
- x为0D,,repeat为1D Tensor,axis为None
- 需要测反向,加stop_gradient=False
测试时直接比对shape吧
Done
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters