forked from mindspore-Ecosystem/mindspore
Rectification of operator ease of use
This commit is contained in:
parent
c60e95d269
commit
316662cacb
|
@ -21,14 +21,15 @@ class SparseToDense(Cell):
|
|||
"""
|
||||
Converts a sparse tensor into dense.
|
||||
|
||||
Not yet supported by any backend at the moment.
|
||||
|
||||
Inputs:
|
||||
- **sparse_tensor** (:class:`mindspore.SparseTensor`): the sparse tensor to convert.
|
||||
|
||||
Outputs:
|
||||
Tensor, converted from sparse tensor.
|
||||
|
||||
Args:
|
||||
sparse_tensor (SparseTensor): the sparse tensor to convert.
|
||||
|
||||
Raises:
|
||||
TypeError: If the`sparse_tensor.indices` data type is neither int32 nor int64.
|
||||
TypeError: If the 'sparse_tensor.values' data type is not a Number or bool.
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue