How can one utilize the indices provided by torch.topk()?

前端 未结 0 1106
北海茫月
北海茫月 2020-12-19 05:11

Suppose I have a pytorch tensor x of shape [N, N_g, 2]. It can be viewed as N * N_g 2d vectors. Specifically, x[i, j, :]

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