2.3K Star 8.1K Fork 4.3K

GVPMindSpore / mindspore

 / 详情

[MS][DOC][API]mindspore.ops doc example error

DONE
Bug-Report
创建于  
2021-12-24 09:37
name about labels
Bug Report Use this template for reporting a bug kind/bug

Environment

  • Hardware Environment(Ascend/GPU/CPU):

Uncomment only one /device <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
/device cpu

  • Software Environment:
    -- MindSpore version (source or binary):commit_id = ''[sha1]:7f6c6184,[branch]:(HEAD,origin/master,origin/HEAD,master)''
    -- Python version (e.g., Python 3.7.5):Python 3.7.5
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):Ubuntu 18.04
    -- GCC/Compiler version (if compiled from source):

Related testcase

test_ms_usability_api_0001

Steps to reproduce the issue

1.https://www.mindspore.cn/docs/api/zh-CN/master/api_python/ops/mindspore.ops.InsertGradientOf.html#mindspore.ops.InsertGradientOf
示例在ascend上不通
输入图片说明

2.https://www.mindspore.cn/docs/api/zh-CN/master/api_python/ops/mindspore.ops.SparseToDense.html#mindspore.ops.SparseToDense
示例结果不一致
输入图片说明

3.https://www.mindspore.cn/docs/api/zh-CN/master/api_python/ops/mindspore.ops.SparseTensorDenseMatmul.html#mindspore.ops.SparseTensorDenseMatmul
示例结果不一致
输入图片说明

4.https://www.mindspore.cn/docs/api/zh-CN/master/api_python/ops/mindspore.ops.IndexAdd.html#mindspore.ops.IndexAdd
示例在ascend上不通
输入图片说明

Describe the current behavior

存在示例问题

Describe the expected behavior

修改示例

Related log / screenshot

如上

Special notes for this issue

mindspore.ops文档描述存在示例问题

评论 (4)

hezixian 创建了Bug-Report
hezixian 添加了
 
kind/bug
标签
hezixian 添加了
 
sig/doc
标签
hezixian 添加了
 
stage/coding
标签
hezixian 添加了func/parse(已删除)标签
hezixian 添加了attr/ease-of-use(已删除)标签
chentangyu 任务状态TODO 修改为WIP
展开全部操作日志

Root Cause:
示例结果不一致

fix:
示例结果不一致已修复,Ascend实例不通是因为算子本身出问题,由专门的负责人在修复中

pr:
!28446:correct code examples etc.

chentangyu 关联仓库设置为MindSpore/mindspore
chentangyu 添加协作者chentangyu
chentangyu 负责人chentangyu 修改为hezixian
chentangyu 任务状态WIP 修改为VALIDATION

ops.InsertGradientOf示例在ascend上不通,已转由问题单https://e.gitee.com/mind_spore/issues/list?issue=I4PGSE 进行跟踪;
ops.IndexAdd示例在ascend上不通,已转由问题单https://e.gitee.com/mind_spore/issues/list?issue=I4HX2U 进行跟踪

Regression Time :2022/01/06
Regression Version :commit_id = ''[sha1]:5f32eb5f,[branch]:(HEAD,origin/master,origin/HEAD,master)''
Regression Step :execute test case.
Regression Result :Fix errors.
输入图片说明
输入图片说明
Regression Conclusion :Pass

hezixian 任务状态VALIDATION 修改为DONE

ops.InsertGradientOf示例在ascend上不通,已转由问题单https://e.gitee.com/mind_spore/issues/list?issue=I4PGSE 进行跟踪 已解决

hezixian 里程碑B-ComponentTest 修改为B-SolutionTest
hezixian 移除了attr/usability(已删除)标签
hezixian 移除了func/parse(已删除)标签

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
7508424 tacyi139 1588073933
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助