class_docstr: docstring for SeededFakeDataFlow
class_docstr_tok: ["docstring","for","SeededFakeDataFlow"]
code: def reset_state(self):
      np.random.seed(self.seed)
      for _ in range(self._size):
          label = np.random.randint(low=0, high=10)
          img = np.random.randn(28, 28, 3)
          self.cache.append([label, img])
  
file_path: tensorpack/tensorpack/dataflow/serialize_test.py
imports: import tempfile
  import numpy
  import os
  import unittest
  from tensorpack.dataflow import HDF5Serializer, LMDBSerializer, NumpySerializer, TFRecordSerializer
  from tensorpack.dataflow.base import DataFlow
label_desc: Use image node_id 2 for calling the SeededFakeDataFlow obj's underlying member method code with example usage: obj.reset_state() without return types