code: def __init__(
      self,
      kernel_size,
      keep_size=True,
      seed=None,
      name=None,
      random_state="deprecated",
      deterministic="deprecated",
  ):
      super(_AbstractPoolingBase, self).__init__(
          seed=seed,
          name=name,
          random_state=random_state,
          deterministic=deterministic,
      )
      self.kernel_size = iap.handle_discrete_kernel_size_param(
          kernel_size,
          "kernel_size",
          value_range=(0, None),
          allow_floats=False,
      )
      self.keep_size = keep_size
  
      self._resize_hm_and_sm_arrays = True
  
imports: from __future__ import print_function, division, absolute_import
  from abc import ABCMeta, abstractmethod
  import functools
  import six
  import numpy
  import imgaug
  from .None import meta
  from ..None import parameters
label_desc: Use image node_id 1 to create a new _AbstractPoolingBase object from inherited base classes: meta with example: obj = _AbstractPoolingBase(kernel_size, keep_size, seed, name, random_state, deterministic)