class_docstr: Implements the R-operator for the downsample operation.
class_docstr_tok: ["Implements","the","R-operator","for","the","downsample","operation","."]
code: def infer_shape(self, node, in_shapes):
      ws, stride, pad = [node.inputs[2], node.inputs[3], node.inputs[4]]
      shp = Pool.out_shape(
          in_shapes[0], ws, self.ignore_border, stride, pad, self.ndim
      )
      return [shp]
  
imports: from __future__ import absolute_import, print_function, division
  import theano
  from theano import Apply
  from theano.gof import ParamsType
  from theano.scalar import bool
  from theano.tensor.basic import as_tensor_variable
  from theano.tensor.signal.pool import Pool, PoolingMode_t
  from .type import gpu_context_type
  from .basic_ops import CGpuKernelBase, infer_context_name, gpuarray_helper_inc_dir, as_gpuarray_variable, gpu_contiguous
label_desc: Use image node_id 6 for calling the GpuMaxPoolRop obj's underlying member method code with example usage: obj.infer_shape(node, in_shapes) and returns: list