How to sort a 3d tensor by coordinates in last dimension (pytorch)

后端 未结 0 762
甜味超标
甜味超标 2020-12-21 06:56

I have a tensor with shape [bn, k, 2]. The last dimension are coordinates and I want each batch to be sorted independently depending on the y coordinate (

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