diff --git a/mindspore/ops/operations/sparse_ops.py b/mindspore/ops/operations/sparse_ops.py index d3f187a30b1..0f6ebca03b6 100644 --- a/mindspore/ops/operations/sparse_ops.py +++ b/mindspore/ops/operations/sparse_ops.py @@ -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)