Pytorch batch row-wise application of function

后端 未结 0 469
猫巷女王i
猫巷女王i 2020-12-29 22:14

I would like to figure out a way to apply a function which calculates pairwise distances, let\'s call it dists(A, B), row-wise for every input element in a batch, meaning:

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