code: def downscale_factor(self, factor: IntVec2D) -> IntVec2D:
      strides = self.real_strides()
      return IntVec2D(factor.x * strides.x, factor.y * strides.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 4 for calling the MaxPool2DLayerParams obj's underlying member method code with example usage: obj.downscale_factor(factor) and returns: IntVec2D