class_docstr: Base class for EncoderDecoder tests. Tests for specific classes should
  inherit from this and tf.test.TestCase.
code: def setUp(self):
      super(EncoderDecoderTests, self).setUp()
      tf.logging.set_verbosity(tf.logging.INFO)
      self.batch_size = 2
      self.input_depth = 4
      self.sequence_length = 10
  
      # Create vocabulary
      self.vocab_list = [str(_) for _ in range(10)]
      self.vocab_list += ["笑う", "泣く", "了解", "はい", "＾＿＾"]
      self.vocab_size = len(self.vocab_list)
      self.vocab_file = test_utils.create_temporary_vocab_file(
          self.vocab_list
      )
      self.vocab_info = vocab.get_vocab_info(self.vocab_file.name)
  
      tf.contrib.framework.get_or_create_global_step()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from collections import namedtuple
  import yaml
  import numpy
  import tensorflow
  from seq2seq.data import vocab, input_pipeline
  from seq2seq.training import utils
  from seq2seq.test import utils
  from seq2seq.models import BasicSeq2Seq, AttentionSeq2Seq
label_desc: Use image node_id 1 for calling the EncoderDecoderTests obj's underlying member method code with example usage: obj.setUp() without return types