def test_size_types_should_be_int_tuple_or_list_config(tile_size: tuple, stride: tuple) -> None:
    """Size type could only be integer, tuple or ListConfig type."""
    tiler = Tiler(tile_size=tile_size, stride=stride)
    assert isinstance(tiler.tile_size_h, int)
    assert isinstance(tiler.stride_w, int)
Size type could only be integer, tuple or ListConfig type.
tests/unit/data/utils/test_tiler.py