code: def check_forward_consistency_regression(self, backend_config):
      # Regression test to two-dimensional unpooling layer.
      (inputs,) = self.generate_inputs()
      x = chainer.Variable(backend_config.get_array(inputs))
  
      ksize = self.ksize
      stride = self.stride
      pad = self.pad
  
      y_nd = functions.unpooling_nd(
          x, ksize, stride=stride, pad=pad, cover_all=self.cover_all
      )
      y_2d = functions.unpooling_2d(
          x, ksize, stride=stride, pad=pad, cover_all=self.cover_all
      )
      testing.assert_allclose(
          y_nd.array, y_2d.array, **self.check_forward_options
      )
  
imports: import itertools
  import unittest
  import numpy
  import six
  import chainer
  from chainer import backend
  from chainer import functions
  from chainer import testing
  from chainer.utils import conv
  from chainer.utils import type_check
label_desc: Use image node_id 5 for calling the TestUnpoolingND obj's underlying member method code with example usage: obj.check_forward_consistency_regression(backend_config) without return types