SparseTensor_一梦南柯-CSDN博客
https://blog.csdn.net/qq_38150441/article/details/8258645210.09.2018 · 那么用SparseTensor表达这个数据对应的三个dense tensor如下: indices : [ [0, 0], [1, 2]] values : [1, 2] dense_shape : [3, 4] 可以通过以下两种方法,将sparse tensor转化为dense tensor: tf.sparse_to_dense (sparse_indices, output_shape, sparse_values, default_value=0, validate_indices=True, name=None)
TACO: The Tensor Algebra Compiler
tensor-compiler.orgTACO is versatile. The compiler-based technique that underlies TACO enables it to support a wide variety of linear and tensor algebra operations, ranging from simpler ones like sparse matrix-vector multiplication to more complex ones like MTTKRP on tensors of any order.