code: def forward_chainerx(self, inputs):
      (x,) = inputs
      pad_mode_kwargs = _get_pad_mode_kwargs(self.pad_mode, True)
      y = chainerx.average_pool(
          x,
          ksize=self.ksize,
          stride=self.stride,
          pad=self.pad,
          **pad_mode_kwargs,
      )
      return (y,)
  
imports: import functools
  from operator import mul
  import unittest
  import chainer
  import numpy
  import pytest
  import chainerx
  from chainerx_tests import op_utils
label_desc: Use image node_id 3 for calling the TestAveragePool obj's underlying member method code with example usage: obj.forward_chainerx(inputs) and returns: y