Mask and reshape a matrix using Tensorflow

前端 未结 0 1363
悲&欢浪女
悲&欢浪女 2020-12-28 09:46

I would like to use a mask to select vectors in mat variable. Below is the resultant matrix that I expcxt to get:

[[0, 0, 2, 2],
 [4         


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