code: def _set_seed(self):
          
          if self.flags['SEED'] is not None:
              tf.set_random_seed(self.flags['SEED'])
              np.random.seed(self.flags['SEED'])
docs: Set random seed for numpy and tensorflow packages