How to accomplish the multi-dimensional fancy indexing in PyTorch?

后端 未结 0 842
悲哀的现实
悲哀的现实 2020-12-06 14:49

I have a 3D tensor ([batch_size, seq_length, hidden_dim]) and a 2D list ([batch_size, seq_length]).

I want to using list to accomplish the s

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