class_docstr: The base item loader is responsible to decide how the items within a chunk are loaded.
class_docstr_tok: ["The","base","item","loader","is","responsible","to","decide","how","the","items","within","a","chunk","are","loaded","."]
docstr: Returns a list of tuple describing the indexes intervals of the chunks.
docstr_tok: ["Returns","a","list","of","tuple","describing","the","indexes","intervals","of","the","chunks","."]
code: def generate_intervals(self) -> List[Tuple[int, int]]:
      """Returns a list of tuple describing the indexes intervals of the chunks."""
      pass
  
imports: import os
  from abc import ABC, abstractmethod
  from time import sleep
  from typing import Any, Dict, List, Optional, Tuple
  import numpy
  import torch
  from lightning.data.streaming.constants import _TORCH_DTYPES_MAPPING, _TORCH_GREATER_EQUAL_2_1_0
  from lightning.data.streaming.serializers import Serializer
label_desc: Use image node_id 3 for calling the BaseItemLoader obj's underlying member method code with example usage: obj.generate_intervals() without return types