已合并
[feat]TensorTo support preserve_format consistent with GPU #35353
culechan创建于 5月12日
[feat]TensorTo support preserve_format consistent with GPU #35353
已合并
Pull Request已成功合入, 合并人@ascend-robot
(感谢 culechan 的贡献)ascend-robot
5月12日 评论:
5月12日 评论:
5月12日 添加了label:stat/needs-squash
ascend-robot
5月12日 评论:
5月12日 评论:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-Ascend/pytorch | ✅ htchu, ffmh (2/2) | ✅ htchu (1/1) |
| test | ✅ htchu, probiotics_53, ffmh (3/2) | ✅ htchu (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
culechan, thanks for your pull request. All authors of the commits have signed the CLA. 👍


5月12日 添加了label:ascend-cla/yes
此处折叠了76条消息 查看更多
ffmh
5月13日 评论:
5月13日 评论:
/lgtm


5月13日 添加了label:approvedlgtm
ascend-robot
5月13日 评论:
5月13日 评论:
Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: htchu.
Reviewers who wrote a comment of /lgtm are: ffmh, htchu, probiotics_53.


5月13日 合入了pull request
【合入来源】
【修改方案】
1、NPU上tensorto支持preserve_format模式。行为逻辑上对齐pytorch原生框架
2、增加preserve_format模式相关的测试用例
【资料变更】
不涉及,原生API表格中未体现这部分内容
【接口变更】
Tensor.to默认使用且支持preserve_format模式
【功能验证】
【CheckList】