adaptive average pool 2d

Solutions on MaxInterview for adaptive average pool 2d by the best coders in the world

showing results for - "adaptive average pool 2d"
Owen
05 Nov 2018
1out = nn.AdaptiveAvgPool2d((2,2))(inp)
2print(out)
3
Sebastián
16 May 2018
1inp = torch.tensor([[[[1,2.,3], [4,5,6], [7,8,9]]]], dtype = torch.float)
2
3print(inp .shape)
4print(inp)
5
Briony
24 Sep 2017
1tensor([[[[3., 4.],
2          [6., 7.]]]])
3
Luca
24 Jun 2018
1torch.Size([1, 1, 3, 3])
2tensor([[[[1., 2., 3.],
3          [4., 5., 6.],
4          [7., 8., 9.]]]])
5
similar questions
queries leading to this page
adaptive average pool 2d