已合并
[fix] torch.eye API consistency #4256
一只食醉狗创建于 2月12日
[fix] torch.eye API consistency #4256
已合并
一只食醉狗创建于 2月12日
一只食醉狗成员
2月12日

【合入来源】

https://atomgit.com/Ascend/pytorch/issues/1545

【修改方案】

增加dimension校验,与GPU保持一致

【资料变更】

请确认是否涉及资料变更。如涉及,需要在PR中体现,并简要说明修改内容。如不涉及,需填写“不涉及”

【接口变更】

请确认是否涉及跨代码仓或者客户面可见的接口变更。如涉及,需要详细说明接口以及对应的变更内容,同时需要在资料中体现。如不涉及,需填写“不涉及”

【功能验证】

原有用例验证test_eye_npu
test_eye_cpu (main.TestTensorCreationCPU) ... ok
test_eye_npu (main.TestTensorCreationPRIVATEUSE1) ... ok

【CheckList】

PR提交人对以下CheckList自检项进行全量自检,自检通过或不涉及,均修改 [ ] 为 [x]

likedislike
Pull Request已成功合入, 合并人@ascend-robot
(感谢 一只食醉狗 的贡献)
一只食醉狗成员
2月12日 创建了 pull request,commit 981a9ef9
ascend-robot
ascend-robot成员
2月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/op-plugin liwei386, wanglijun55, liangchenghui (3/2) liwei386 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
ascend-robotascend-robot成员
2月12日 添加了label:ascend-cla/no
一只食醉狗成员
2月12日 评论:

/retest

likedislike
此处折叠了53条消息 查看更多
ascend-robot
ascend-robot成员
2月13日 评论:

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
hbhu_bin, liujunzhu

likedislike
ascend-robotascend-robot成员
2月13日 添加了label:approved
ascend-robot
ascend-robot成员
2月13日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: liwei386.
Reviewers who wrote a comment of /lgtm are: liangchenghui, liwei386, wanglijun55.

likedislike
ascend-robotascend-robot成员
2月13日 关闭了关联的issue
ascend-robotascend-robot成员
2月13日 合入了pull request