code: def __iter__(self):
      while self.idx < self.n_samples:
          yield self.data[self.idx]
          self.idx += 1
  
imports: import re
  import codecs
  import random
  from collections import Counter
label_desc: Use image node_id 3 for calling the DataLoader obj's underlying member method code with example usage: obj.__iter__() without return types