We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9248e8 commit a23abb2Copy full SHA for a23abb2
tf_keras/optimizers/optimizer_test.py
@@ -411,7 +411,7 @@ def get_config(self):
411
"module": None,
412
"registered_name": "CustomLRSchedule",
413
}
414
- self.assertDictContainsSubset(expected_config, config)
+ self.assertEqual(config, {**config, **expected_config})
415
self.assertDictEqual(expected_learning_rate, config["learning_rate"])
416
417
restored_optimizer = adam_new.Adam.from_config(
0 commit comments