def testConstructAdamWithEpsilonValues(self):
    opt = adam.Adam(epsilon=None)
    config = opt.get_config()
    self.assertEqual(config['epsilon'], 1e-07)
    opt = adam.Adam(epsilon=1e-08)
    config = opt.get_config()
    self.assertEqual(config['epsilon'], 1e-08)
def testConstructAdamWithEpsilonValues(self):
    opt = adam.Adam(epsilon=None)
    config = opt.get_config()
    self.assertEqual(config['epsilon'], 1e-07)
    opt = adam.Adam(epsilon=1e-08)
    config = opt.get_config()
    self.assertEqual(config['epsilon'], 1e-08)