def lstm_luong_attention():
  """Hparams for LSTM with luong attention."""
  hparams = lstm_attention_base()
  hparams.add_hparam("attention_mechanism", "luong")
  return hparams
Hparams for LSTM with luong attention.
tensor2tensor/models/lstm.py