Tensorflow, gather from image by spatial indices

后端 未结 0 847
既然无缘
既然无缘 2021-02-07 11:19

I have a batch of image, [B, H, W, 3], and spatial N indices, [B, N, 2], where N < min(H, W). 2 is for H and W.
Does anyone know how to get N

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