code: def __init__(self, *args, **kwargs):
      super(MaxPool2DLayer, self).__init__(*args, **kwargs)
      self.conv = keras.layers.MaxPool2D(
          name="conv",
          pool_size=self.params.pool_size.to_tuple(),
          strides=self.params.real_strides().to_tuple(),
          padding=self.params.padding,
      )
  
file_path: calamari/calamari_ocr/ocr/model/layers/pool2d.py
imports: from dataclasses import dataclass, field
  from typing import Type
  from paiargparse import pai_dataclass, pai_meta
  from tensorflow import keras
  from calamari_ocr.ocr.model.layers.layer import LayerParams, IntVec2D, Layer
label_desc: Use image node_id 1 to create a new MaxPool2DLayer object from inherited base classes: Layer with example: obj = MaxPool2DLayer()