This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!15575
Modify SparseToDense
From:
@ZhengQihao3f3f3f
Reviewed-by: @wuxuejian,@liangchenghui Signed-off-by:
@wuxuejian
pull/15575/MERGE
mindspore-ci-bot
Gitee
4 years ago
parent
7c9dd278b9
6a8fdb30ab
commit
2f64dbc28a
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
mindspore/ops/operations/sparse_ops.py
+ 3
- 0
mindspore/ops/operations/sparse_ops.py
View File
@@ -34,6 +34,9 @@ class SparseToDense(PrimitiveWithInfer):
Returns:
Tensor, the shape of tensor is `dense_shape`.
Supported Platforms:
``CPU``
Examples:
>>> indices = Tensor([[0, 1], [1, 2]])
>>> values = Tensor([1, 2], dtype=ms.float32)
Write
Preview
Loading…
Cancel
Save