code: def setUp(self):
      self._sequence_file = tempfile.NamedTemporaryFile(
          prefix="EventSequenceRNNGraphTest"
      )
  
      self.config = events_rnn_model.EventSequenceRnnConfig(
          None,
          note_seq.OneHotEventSequenceEncoderDecoder(
              testing_lib.TrivialOneHotEncoding(12)
          ),
          contrib_training.HParams(
              batch_size=128,
              rnn_layer_sizes=[128, 128],
              dropout_keep_prob=0.5,
              clip_norm=5,
              learning_rate=0.01,
          ),
      )
  
file_path: magenta/magenta/models/shared/events_rnn_graph_test.py
imports: import tempfile
  from magenta.contrib import training
  from magenta.models.shared import events_rnn_graph
  from magenta.models.shared import events_rnn_model
  import note_seq
  from note_seq import testing_lib
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the EventSequenceRNNGraphTest obj's underlying member method code with example usage: obj.setUp() without return types