tf.sparse.reorder | TensorFlow Core v2.7.0
www.tensorflow.org › api_docs › pythonNov 05, 2021 · The only time ordering can be violated is during manual manipulation of the indices and values to add entries. Reordering does not affect the shape of the SparseTensor. For example, if sp_input has shape [4, 5] and indices / values: [0, 3]: b [0, 1]: a [3, 1]: d [2, 0]: c. then the output will be a SparseTensor of shape [4, 5] and indices / values: