class_docstr: Sequential RNNLM.
  
  See also:
      https://github.com/pytorch/examples/blob/4581968193699de14b56527296262dd76ab43557/word_language_model/model.py
class_docstr_tok: ["Sequential","RNNLM",".","See","also",":","https",":","\/\/github.com\/pytorch\/examples\/blob\/4581968193699de14b56527296262dd76ab43557\/word_language_model\/model.py"]
docstr: Add arguments to command line argument parser.
docstr_tok: ["Add","arguments","to","command","line","argument","parser","."]
code: def add_arguments(parser):
      """Add arguments to command line argument parser."""
      parser.add_argument(
          "--type",
          type=str,
          default="lstm",
          nargs="?",
          choices=["lstm", "gru"],
          help="Which type of RNN to use",
      )
      parser.add_argument(
          "--layer",
          "-l",
          type=int,
          default=2,
          help="Number of hidden layers",
      )
      parser.add_argument(
          "--unit",
          "-u",
          type=int,
          default=650,
          help="Number of hidden units",
      )
      parser.add_argument(
          "--dropout-rate",
          type=float,
          default=0.5,
          help="dropout probability",
      )
      return parser
  
file_path: espnet/espnet/nets/pytorch_backend/lm/seq_rnn.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from espnet.nets.lm_interface import LMInterface
label_desc: Use image node_id 1 for calling the SequentialRNNLM obj's underlying member method code with example usage: obj.add_arguments(parser) and returns: parser