 tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069ops8b7c:f320:99b9:690f:4595:cd17:293a:c069SparseReorder #include <sparse_ops.h> Reorders a SparseTensor into the canonical, row-major ordering.  Summary Note that by convention, all sparse ops preserve the canonical ordering along increasing dimension number. The only time ordering can be violated is during manual manipulation of the indices and values vectors to add entries. Reordering does not affect the shape of the SparseTensor. If the tensor has rank R and N non-empty values, input_indices has shape [N, R], input_values has length N, and input_shape has length R. Arguments:
 scope: A Scope object input_indices: 2-D. N x R matrix with the indices of non-empty values in a SparseTensor, possibly not in canonical ordering. input_values: 1-D. N non-empty values corresponding to input_indices. input_shape: 1-D. Shape of the input SparseTensor.  Returns:
 
Output output_indices: 2-D. N x R matrix with the same indices as input_indices, but in canonical row-major ordering. 
Output output_values: 1-D. N non-empty values corresponding to output_indices.      Constructors and Destructors     SparseReorder(const 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Scope & scope, 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Input input_indices, 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Input input_values, 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Input input_shape)        Public attributes     operation    Operation      output_indices    8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Output      output_values    8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Output     Public attributes  operation Operation operation   output_indices 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Output output_indices   output_values 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Output output_values  Public functions  SparseReorder  SparseReorder(
  const 8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Scope & scope,
  8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Input input_indices,
  8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Input input_values,
  8b7c:f320:99b9:690f:4595:cd17:293a:c069tensorflow8b7c:f320:99b9:690f:4595:cd17:293a:c069Input input_shape
)   

    
{'path': 'public/docs/tensorflow_cpp~2.4/class/tensorflow/ops/sparse-reorder.html', 'source': 'DevDocs.IO'}