class_docstr: Shuffle describe how to distribute chunked datasets across processes and workers.
class_docstr_tok: ["Shuffle","describe","how","to","distribute","chunked","datasets","across","processes","and","workers","."]
code: def __call__(
      self,
      array: np.ndarray,
      num_chunks: int,
      current_epoch: int,
      chunk_index: int,
  ) -> List[int]:
      pass
  
file_path: pytorch-lightning/src/lightning/data/streaming/shuffle.py
imports: from abc import ABC, abstractmethod
  from functools import lru_cache
  from typing import Any, List, Tuple
  import numpy
  from lightning.data.streaming import Cache
  from lightning.data.utilities.env import _DistributedEnv
label_desc: Use image node_id 4 for calling the Shuffle obj's underlying member method code with example usage: obj.__call__(array, num_chunks, current_epoch, chunk_index) without return types