class_docstr: The `CombinedStreamingDataset` enables to stream data from multiple StreamingDataset with the sampling ratio of
  your choice.
  
  Addtionally, the `CombinedStreamingDataset` keeps track of the number of
  samples fetched to enable resumability of the datasets.
class_docstr_tok: ["The","`","CombinedStreamingDataset","`","enables","to","stream","data","from","multiple","StreamingDataset","with","the","sampling","ratio","of","your","choice",".","Addtionally",",","the","`","CombinedStreamingDataset","`","keeps","track","of","the","number","of","samples","fetched","to","enable","resumability","of","the","datasets","."]
code: def state_dict(
      self, num_workers: int, batch_size: int
  ) -> Dict[str, Any]:
      if self._iterator is None:
          return {}
      return self._iterator.state_dict(num_workers, batch_size)
  
file_path: pytorch-lightning/src/lightning/data/streaming/combined.py
imports: import random
  from typing import Any, Dict, Iterator, List, Optional, Sequence
  from torch.utils.data import IterableDataset
  from lightning.data.streaming.dataset import StreamingDataset
label_desc: Use image node_id 3 for calling the CombinedStreamingDataset obj's underlying member method code with example usage: obj.state_dict(num_workers, batch_size) and returns: self, dict