class_docstr: Basic Sequence2Sequence model with a unidirectional encoder and decoder.
  The last encoder state is used to initialize the decoder and thus both
  must share the same type of RNN cell.
  
  Args:
    source_vocab_info: An instance of `VocabInfo`
      for the source vocabulary
    target_vocab_info: An instance of `VocabInfo`
      for the target vocabulary
    params: A dictionary of hyperparameters
class_docstr_tok: ["Basic","Sequence2Sequence","model","with","a","unidirectional","encoder","and","decoder",".","The","last","encoder","state","is","used","to","initialize","the","decoder","and","thus","both","must","share","the","same","type","of","RNN","cell",".","Args",":","source_vocab_info",":","An","instance","of","`","VocabInfo","`","for","the","source","vocabulary","target_vocab_info",":","An","instance","of","`","VocabInfo","`","for","the","target","vocabulary","params",":","A","dictionary","of","hyperparameters"]
docstr: Creates a decoder instance based on the passed parameters.
docstr_tok: ["Creates","a","decoder","instance","based","on","the","passed","parameters","."]
code: def _create_decoder(self, _encoder_output, _features, _labels):
      """Creates a decoder instance based on the passed parameters."""
      return self.decoder_class(
          params=self.params["decoder.params"],
          mode=self.mode,
          vocab_size=self.target_vocab_info.total_size,
      )
  
file_path: seq2seq/seq2seq/models/basic_seq2seq.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from pydoc import locate
  import tensorflow
  from seq2seq.contrib.seq2seq import helper
  from seq2seq.models.seq2seq_model import Seq2SeqModel
  from seq2seq.graph_utils import templatemethod
  from seq2seq.models import bridges
label_desc: Use image node_id 4 for calling the BasicSeq2Seq obj's underlying member method code with example usage: obj._create_decoder(_encoder_output, _features, _labels) and returns: self