Chose rows of 3d Tensor based on some repeated indices. Tricky Slicing

后端 未结 0 1718
伪装坚强ぢ
伪装坚强ぢ 2021-01-12 10:50

So this is a tricky bit of Tensor slicing I\'m trying.

I have a tensor A which is 3d

>> A.shape
torch.Size([60, 10, 16])


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