Tensorflow SparseTensor in 3D - Generating indices

后端 未结 0 505
一生所求
一生所求 2020-12-22 18:05

I want to populate the upper triangle of a 3D tf.SparseTensor. To get the correct indices I use triu_indices

triu_indices(3, 1)
<         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题