I want to implement this formula from a DNC implementation in TensorFlow in batch mode.
L_%7Bt-1%7D%5Bi,j%5D+w_%7Bt%7D%5Bi%5Dp_%7Bt%7D%5Bj%5D)


With batch dense tensors, this is pretty straight forward.
Is there a way to implement this with sparse tensors? w , p and L are sparse, but TensorFlow is not enough on sparse matrix matte and sparse indexing.
python sparse-matrix tensorflow
spreisel
source share