class_docstr: Base class of pooling function over a set of 2d planes.
class_docstr_tok: ["Base","class","of","pooling","function","over","a","set","of","2d","planes","."]
code: def __init__(
      self,
      ksize,
      stride=None,
      pad=0,
      cover_all=True,
      return_indices=False,
  ):
      if stride is None:
          stride = ksize
  
      self.kh, self.kw = _pair(ksize)
      self.sy, self.sx = _pair(stride)
      self.ph, self.pw = _pair(pad)
  
      self.cover_all = cover_all
      self.return_indices = return_indices
  
      self._used_cudnn = False
  
file_path: chainer/chainer/functions/pooling/pooling_2d.py
imports: from chainer.backends import cuda
  from chainer import function_node
  from chainer.utils import collections_abc
  from chainer.utils import conv
  from chainer.utils import type_check
label_desc: Use image node_id 1 to create a new Pooling2D object from inherited base classes: function_node with example: obj = Pooling2D(ksize, stride, pad, cover_all, return_indices)