Searched refs:opt_v1 (Results 1 – 1 of 1) sorted by relevance
555 def _testOptimizersCompatibility(self, opt_v1, opt_v2, test_weights=True): argument571 model_v1.compile(opt_v1, loss='categorical_crossentropy', metrics=[])580 opt_v2.set_weights(opt_v1.get_weights())590 opt_v1 = optimizers.Adadelta(lr=0.01)592 self._testOptimizersCompatibility(opt_v1, opt_v2)595 opt_v1 = optimizers.Adagrad(lr=0.01)597 self._testOptimizersCompatibility(opt_v1, opt_v2)600 opt_v1 = optimizers.Adam()602 self._testOptimizersCompatibility(opt_v1, opt_v2)605 opt_v1 = optimizers.Adamax(lr=0.01)[all …]