Is sparse tensor multiplication implemented in TensorFlow?

前端 未结 5 999
夕颜
夕颜 2020-12-13 14:11

Multiplication of sparse tensors with themselves or with dense tensors does not seem to work in TensorFlow. The following example



        
5条回答
  •  我在风中等你
    2020-12-13 14:54

    Recently, tf.sparse_tensor_dense_matmul(...) was added that allows multiplying a sparse matrix by a dense matrix.

    https://www.tensorflow.org/versions/r0.9/api_docs/python/sparse_ops.html#sparse_tensor_dense_matmul

    https://github.com/tensorflow/tensorflow/issues/1241

提交回复
热议问题