# targetoutputsizeof 5x7 m=nn.adaptiveavgpool 2d ((5,7 ) ) input=torch.randn ) 1,64,8, 9 ) output=m ) ) input ) ) ) )7) targetoutputsizeof7x7(square ) m=nn.adaptiveavgpool2d(7) input=torch 9 ) output=m ) () ) ) 65 7) targetoutputsizeof 10 x 7m=nn.adaptivemaxpool 2d ((none,7 ) ) input=torch.rrrn