class_docstr: The basic seq2seq model (without attention).
  
  Example:
  
      .. code-block:: python
  
          model = BasicSeq2seq(data_hparams, model_hparams)
          exor = tx.run.Executor(
              model=model,
              data_hparams=data_hparams,
              config=run_config)
          exor.train_and_evaluate(
              max_train_steps=10000,
              eval_steps=100)
  
  .. document private functions
  .. automethod:: _build
class_docstr_tok: ["The","basic","seq2seq","model","(","without","attention",")",".","Example",":","..","code-block",":",":","python","model","=","BasicSeq2seq","(","data_hparams",",","model_hparams",")","exor","=","tx.run.Executor","(","model=model",",","data_hparams=data_hparams",",","config=run_config",")","exor.train_and_evaluate","(","max_train_steps=10000",",","eval_steps=100",")","..","document","private","functions","..","automethod",":",":","_build"]
docstr: Returns a dictionary of hyperparameters with default values.
  
  Same as :meth:`~texar.tf.models.Seq2seqBase.default_hparams` of
  :class:`~texar.tf.models.Seq2seqBase`.
docstr_tok: ["Returns","a","dictionary","of","hyperparameters","with","default","values",".","Same","as",":","meth",":","`","~texar.tf.models.Seq2seqBase.default_hparams","`","of",":","class",":","`","~texar.tf.models.Seq2seqBase","`","."]
code: def default_hparams():
      """Returns a dictionary of hyperparameters with default values.
  
      Same as :meth:`~texar.tf.models.Seq2seqBase.default_hparams` of
      :class:`~texar.tf.models.Seq2seqBase`.
      """
      hparams = Seq2seqBase.default_hparams()
      hparams.update({"name": "basic_seq2seq"})
      return hparams
  
file_path: texar/texar/tf/models/seq2seq/basic_seq2seq.py
imports: import tensorflow
  from texar.tf.models.seq2seq.seq2seq_base import Seq2seqBase
  from texar.tf.modules.decoders.beam_search_decode import beam_search_decode
  from texar.tf.utils import utils
  from texar.tf.utils.shapes import get_batch_size
label_desc: Use image node_id 2 for calling the BasicSeq2seq obj's underlying member method code with example usage: obj.default_hparams() and returns: hparams