code: def setUp(self):
      tf.reset_default_graph()
  
      if self.single_thread:
          sess = tensorflow_session()
          sess.close()
  
          config = tf.ConfigProto(
              allow_soft_placement=True,
              intra_op_parallelism_threads=1,
              inter_op_parallelism_threads=1,
          )
          tensorflow_session.cache = tf.Session(config=config)
  
      if not self.verbose:
          logging.disable(logging.CRITICAL)
  
      # Clean identifiers map for each test
      if hasattr(format_name_if_specified_as_pattern, "counters"):
          del format_name_if_specified_as_pattern.counters
  
      utils.reproducible(seed=self.random_seed)
  
imports: import pickle
  import inspect
  import logging
  import unittest
  import numpy
  import tensorflow
  from neupy import utils, layers, init
  from neupy.utils import tensorflow_eval, tensorflow_session, shape_to_tuple
  from neupy.layers.base import format_name_if_specified_as_pattern
  from helpers import vectors_for_testing
label_desc: Use image node_id 2 for calling the BaseTestCase obj's underlying member method code with example usage: obj.setUp() without return types