class_docstr: Abstract class for different global pooling 2D layers.
class_docstr_tok: ["Abstract","class","for","different","global","pooling","2D","layers","."]
code: def __init__(self, data_format=None, keepdims=False, **kwargs):
      super(GlobalPooling2D, self).__init__(**kwargs)
      self.data_format = conv_utils.normalize_data_format(data_format)
      self.keepdims = keepdims
  
imports: import math
  from abc import abstractmethod
  from tensorflow.python.keras.utils import conv_utils
  import tf_encrypted
  from tf_encrypted.keras.engine import Layer
label_desc: Use image node_id 1 to create a new GlobalPooling2D object from inherited base classes: Layer with example: obj = GlobalPooling2D(data_format, keepdims)