code: def __init__(self, kernel, stride=1):
      self.kernel = (kernel, kernel)
      self.stride = (stride, stride)
      self.pad = (kernel // 2, kernel // 2)
  
imports: import nnabla
  import nnabla.parametric_functions
  import nnabla.functions
  import numpy
  import pytest
  from helper import create_temp_with_dir
  from nnabla.testing import assert_allclose
label_desc: Use image node_id 1 to create a new MaxPooling object from inherited base classes: nn with example: obj = MaxPooling(kernel, stride)