def forward(self): x = chainer.Variable(self.x) return functions.spatial_pyramid_pooling_2d( x, 3, functions.MaxPooling2D, use_cudnn=self.use_cudnn)