class_docstr: Average pooling over a set of 2d planes.
code: def forward_cpu(self, x):
      if intel64.should_use_ideep(
          ">=auto"
      ) and intel64.inputs_all_ready(x):
          return self._forward_ideep(x)
  
      self._in_shape = x[0].shape
      self._in_dtype = x[0].dtype
  
      col = conv.im2col_cpu(
          x[0], self.kh, self.kw, self.sy, self.sx, self.ph, self.pw
      )
      y = col.mean(axis=(2, 3))
      return (y,)
  
imports: import numpy
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer.backends import intel64
  from chainer import function_node
  from chainer.functions.pooling import average_pooling_nd
  from chainer.functions.pooling import pooling_2d
  from chainer.utils import conv
  import chainerx
label_desc: Use image node_id 1 for calling the AveragePooling2D obj's underlying member method code with example usage: obj.forward_cpu(x) and returns: y, self