code: def _compute_shape_after_pooling(image_shape, ksize_h, ksize_w):
      if any([axis == 0 for axis in image_shape]):
          return image_shape
  
      height, width = image_shape[0:2]
  
      if height % ksize_h > 0:
          height += ksize_h - (height % ksize_h)
      if width % ksize_w > 0:
          width += ksize_w - (width % ksize_w)
  
      return tuple(
          [
              height // ksize_h,
              width // ksize_w,
          ]
          + list(image_shape[2:])
      )
  
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 for calling a global function with example usage: _compute_shape_after_pooling(image_shape, ksize_h, ksize_w) and returns: tuple, image_shape