code: def _draw_samples(self, nb_rows, random_state):
      rss = random_state.duplicate(2)
      mode = "single" if self.kernel_size[1] is None else "two"
      kernel_sizes_h = self.kernel_size[0].draw_samples(
          (nb_rows,), random_state=rss[0]
      )
      if mode == "single":
          kernel_sizes_w = kernel_sizes_h
      else:
          kernel_sizes_w = self.kernel_size[1].draw_samples(
              (nb_rows,), random_state=rss[1]
          )
      return (
          np.clip(kernel_sizes_h, 1, None),
          np.clip(kernel_sizes_w, 1, None),
      )
  
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 3 for calling the _AbstractPoolingBase obj's underlying member method code with example usage: obj._draw_samples(nb_rows, random_state) and returns: np,  np