code: def real_strides(self) -> IntVec2D:
      if self.strides is None:
          return self.pool_size
      return IntVec2D(
          self.strides.x if self.strides.x >= 0 else self.pool_size.x,
          self.strides.y if self.strides.y >= 0 else self.pool_size.y,
      )
  
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 5 for calling the MaxPool2DLayerParams obj's underlying member method code with example usage: obj.real_strides() and returns: IntVec2D, self