code: def setUp(self):
      self.acts = np.array([[0, 1.0, 2.0]])
      self.examples = [None, None, None]
      self.concepts = ["c1", "c2"]
      self.target = "t1"
      self.class_id = 0
      self.bottleneck = "bn"
      self.cav_dir = None
      self.hparams = {"model_type": "linear", "alpha": 0.01}
      self.cav = CAV(self.concepts, self.bottleneck, self.hparams)
      self.cav.cavs = [
          [
              1.0,
              2.0,
              3.0,
          ]
      ]
      self.activation_generator = None
      self.mymodel = TcavTest_model()
      self.act_gen = TcavTest_ActGen(self.mymodel)
      self.random_counterpart = "random500_1"
  
      self.mytcav = TCAV(
          None,
          self.target,
          self.concepts,
          [self.bottleneck],
          self.act_gen,
          [self.hparams["alpha"]],
      )
  
      self.mytcav_random_counterpart = TCAV(
          None,
          self.target,
          self.concepts,
          [self.bottleneck],
          self.act_gen,
          [self.hparams["alpha"]],
          self.random_counterpart,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tcav.activation_generator import ActivationGeneratorBase
  from tcav.cav import CAV
  from tcav.tcav import TCAV
  from tensorflow.python.platform import googletest
  import numpy
  import tensorflow
label_desc: Use image node_id 1 for calling the TcavTest obj's underlying member method code with example usage: obj.setUp() without return types