Is there a way to get indices from AdaptiveAvgPool2D output so I can use it for the MaxUnpool2D? I looked at the docs and I don’t think it says how to do this.
Manually calculating finding them right after the AdaptiveAvgPool2d seems inefficient.