Creating new channels from nearby pixels in pytorch

后端 未结 0 1284
深忆病人
深忆病人 2020-12-09 07:02

Given a batch image tensor like B x C x W x H,

I would like to create a new tensor in which the new channels are the channels from nearby pixels.

For instance,

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