forked from mindspore-Ecosystem/mindspore
!15575 Modify SparseToDense
From: @ZhengQihao3f3f3f Reviewed-by: @wuxuejian,@liangchenghui Signed-off-by: @wuxuejian
This commit is contained in:
commit
2f64dbc28a
|
@ -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…
Reference in New Issue