code: def setUp(self):
      self.output_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
      self.checkpoint_dir = tempfile.mkdtemp(dir=self.get_temp_dir())
      graph = tf.Graph()
      self.session = tf.Session(graph=graph)
      note_rnn = note_rnn_loader.NoteRNNLoader(
          graph, scope="test", checkpoint_dir=None
      )
      note_rnn.initialize_new(self.session)
      with graph.as_default():
          saver = tf.train.Saver(
              var_list=note_rnn.get_variable_name_dict()
          )
          saver.save(
              self.session,
              os.path.join(self.checkpoint_dir, "model.ckpt"),
          )
  
file_path: magenta/magenta/models/rl_tuner/rl_tuner_test.py
imports: import os
  import os.path
  import tempfile
  from magenta.models.rl_tuner import note_rnn_loader
  from magenta.models.rl_tuner import rl_tuner
  import matplotlib
  import matplotlib.pyplot
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the RLTunerTest obj's underlying member method code with example usage: obj.setUp() without return types