def afx_mimic_adam():
  """Emulating Adam - should be very similar to afx_adam."""
  hparams = afx_adam()
  mimic_adam_with_adafactor(hparams)
  return hparams
Emulating Adam - should be very similar to afx_adam.
tensor2tensor/models/research/adafactor_experiments.py