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 an item loaded from a chunk.
docstr_tok: ["Returns","an","item","loaded","from","a","chunk","."]
code: def load_item_from_chunk(
      self,
      index: int,
      chunk_index: int,
      chunk_filepath: str,
      begin: int,
  ) -> Any:
      """Returns an item loaded from a chunk."""
      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 5 for calling the BaseItemLoader obj's underlying member method code with example usage: obj.load_item_from_chunk(index, chunk_index, chunk_filepath, begin) without return types