how to extract 1 slice of a 3d image tensor?

后端 未结 0 1958
無奈伤痛
無奈伤痛 2020-12-24 02:46

lets say I have a 64x64x64 3D image. I also have a vector x which is length 64.

I want to take the \'argmax(x)\' layer like so:

2d_image = 3d_image[:,a         


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