class_docstr: Tests the seq2seq.models.AttentionSeq2Seq model.
    
code: def create_model(self, mode, params=None):
      params_ = AttentionSeq2Seq.default_params().copy()
      params_.update(TEST_PARAMS)
      params_.update(
          {
              "source.reverse": True,
              "vocab_source": self.vocab_file.name,
              "vocab_target": self.vocab_file.name,
          }
      )
      params_.update(params or {})
      return AttentionSeq2Seq(params=params_, mode=mode)
  
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 2 for calling the TestAttentionSeq2Seq obj's underlying member method code with example usage: obj.create_model(mode, params) and returns: AttentionSeq2Seq