code: def load_state_dict(self, state_dict):
      self.counter = state_dict["counter"]
  
file_path: pytorch-lightning/tests/tests_data/streaming/test_dataloader.py
imports: import torch
  from lightning.data.streaming import CombinedStreamingDataset, StreamingDataLoader
  from torch import tensor
label_desc: Use image node_id 6 for calling the TestStatefulDataset obj's underlying member method code with example usage: obj.load_state_dict(state_dict) without return types