Browse Source

mod ops 1

pull/15575/head
ZhengQihao3f3f3f 4 years ago
parent
commit
6a8fdb30ab
1 changed files with 3 additions and 0 deletions
  1. +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)


Loading…
Cancel
Save