Sparse Tensors
Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor.
[TOC]
Sparse Tensor Representation
TensorFlow supports a SparseTensor representation for data that is sparse in multiple dimensions. Contrast this representation with IndexedSlices, which is efficient for representing tensors that are sparse in their first dimension, and dense along all other dimensions.
tf.SparseTensortf.SparseTensorValue
Conversion
tf.sparse_to_densetf.sparse_tensor_to_densetf.sparse_to_indicatortf.sparse_merge
Manipulation
tf.sparse_concattf.sparse_reordertf.sparse_reshapetf.sparse_splittf.sparse_retaintf.sparse_reset_shapetf.sparse_fill_empty_rowstf.sparse_transpose
Reduction
tf.sparse_reduce_sumtf.sparse_reduce_sum_sparse
Math Operations
tf.sparse_addtf.sparse_softmaxtf.sparse_tensor_dense_matmultf.sparse_maximumtf.sparse_minimum
