def __call__(self, x): return functions.spatial_pyramid_pooling_2d(x, self.pyramid_height, self.pooling_class)