tkonolige commented on a change in pull request #7125:
URL: https://github.com/apache/tvm/pull/7125#discussion_r547393612
##########
File path: python/tvm/relay/op/transform.py
##########
@@ -1320,3 +1320,52 @@ def adv_index(inputs):
Output tensor.
"""
return _make.adv_index(Tuple(inputs))
+
+
+def sparsereshape(sparse_indices, sparse_values, prev_shape, new_shape):
+ """
+ Reshape a Sparse Tensor
Review comment:
The convention is the same as `sparse_to_dense`. However `sparse_dense`
uses CSR and BSR formats. We should probably add documentation to
`sparse_to_dense` too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]