code: def test_max_pool2d(
      self, input_shape, kernel_size, stride, pad, backend
  ):
      if pad > kernel_size / 2:
          return
      model = nn.MaxPool2d(kernel_size, stride, pad, ceil_mode=False)
      run_compare_torch(input_shape, model, backend=backend)
  
imports: import sys
  from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.testing_reqs import *
  from .testing_utils import *
label_desc: Use image node_id 2 for calling the TestMaxPool obj's underlying member method code with example usage: obj.test_max_pool2d(input_shape, kernel_size, stride, pad, backend) without return types