Beispiel #1
0
 def test_default(self):
     conf = confprod.merge_with_defaults(confprod.generate_configurations([{}])[0], defaults)
     self.assertEqual(conf["optimization"][0], AdaGrad)
Beispiel #2
0
 def test_merge(self):
     confs = confprod.generate_configurations(conf_specs)
     for conf in confs:
         confprod.merge_with_defaults(conf, defaults)
         self.assertTrue("model" in conf)