harshgoyal:

I’ve run into a bottleneck because the input channels will be different while upsampling images with different resolutions.


The number of input channels (and output channels) will not change with different resolutions.
What kind of “bottleneck” are you seeing? Do you get any errors regarding the channel size?