Home
last modified time | relevance | path

Searched refs:optimizer_v1 (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Doptimizers_test.py30 from tensorflow.python.keras import optimizer_v1
113 self._test_optimizer(optimizer_v1.SGD())
118 optimizer_v1.SGD(lr=0.01, momentum=0.9, nesterov=True))
122 self._test_optimizer(optimizer_v1.RMSprop())
123 self._test_optimizer(optimizer_v1.RMSprop(decay=1e-3))
127 self._test_optimizer(optimizer_v1.Adagrad())
128 self._test_optimizer(optimizer_v1.Adagrad(decay=1e-3))
132 self._test_optimizer(optimizer_v1.Adadelta(), target=0.6)
136 self._test_optimizer(optimizer_v1.Adadelta(decay=1e-3), target=0.4)
140 self._test_optimizer(optimizer_v1.Adam())
[all …]
Doptimizers.py27 from tensorflow.python.keras.optimizer_v1 import Optimizer
28 from tensorflow.python.keras.optimizer_v1 import TFOptimizer
Dmodels.py25 from tensorflow.python.keras import optimizer_v1
690 if isinstance(orig_optimizer, optimizer_v1.TFOptimizer):
691 optimizer = optimizer_v1.TFOptimizer(
Dmodels_test.py35 from tensorflow.python.keras import optimizer_v1
457 (optimizer_v1.RMSprop, keras.optimizer_v2.rmsprop.RMSprop))
DBUILD312 "optimizer_v1.py",
/external/tensorflow/tensorflow/python/keras/distribute/
Dmulti_worker_test.py42 from tensorflow.python.keras import optimizer_v1
54 if isinstance(model.optimizer, optimizer_v1.TFOptimizer):
58 while isinstance(optimizer, optimizer_v1.TFOptimizer):
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_architectures_test.py29 from tensorflow.python.keras import optimizer_v1
66 class CustomOpt(optimizer_v1.SGD):
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py38 from tensorflow.python.keras import optimizer_v1
752 opt_v1 = optimizer_v1.Adadelta(lr=0.01)
757 opt_v1 = optimizer_v1.Adagrad(lr=0.01)
762 opt_v1 = optimizer_v1.Adam()
767 opt_v1 = optimizer_v1.Adamax(lr=0.01)
772 opt_v1 = optimizer_v1.Nadam(lr=0.001)
777 opt_v1 = optimizer_v1.SGD(lr=0.01, momentum=0.9)
782 opt_v1 = optimizer_v1.RMSprop()
787 opt_v1 = optimizer_v1.SGD(lr=0.01)
817 opt_k_v1 = optimizer_v1.SGD(momentum=0.9, nesterov=True)
[all …]
Dadam_test.py29 from tensorflow.python.keras import optimizer_v1
540 keras_v1_adam = optimizer_v1.Adam()
/external/tensorflow/tensorflow/python/keras/saving/
Dsaving_utils.py28 from tensorflow.python.keras import optimizer_v1
164 if isinstance(model.optimizer, optimizer_v1.TFOptimizer):
Dsaved_model_experimental.py28 from tensorflow.python.keras import optimizer_v1
209 if isinstance(model.optimizer, (optimizer_v1.TFOptimizer,
Dsaved_model_experimental_test.py34 from tensorflow.python.keras import optimizer_v1
469 clone.compile(loss='mse', optimizer=optimizer_v1.RMSprop(lr=0.0001))
498 clone.compile(loss='mse', optimizer=optimizer_v1.RMSprop(lr=0.0001))
Dsave_weights_test.py35 from tensorflow.python.keras import optimizer_v1
336 optimizer=optimizer_v1.RMSprop(lr=0.0001),
349 optimizer=optimizer_v1.RMSprop(lr=0.0001),
Dhdf5_format.py29 from tensorflow.python.keras import optimizer_v1
130 not isinstance(model.optimizer, optimizer_v1.TFOptimizer)):
Dsave_test.py42 from tensorflow.python.keras import optimizer_v1
479 class CustomOp(optimizer_v1.RMSprop):
656 optimizer=optimizer_v1.Adam(),
/external/tensorflow/tensorflow/python/keras/utils/
Dmulti_gpu_utils_test.py27 from tensorflow.python.keras import optimizer_v1
195 optimizer=optimizer_v1.RMSprop(lr=0.0001, decay=1e-6),
/external/tensorflow/tensorflow/python/training/tracking/
Dgraph_view.py27 from tensorflow.python.training import optimizer as optimizer_v1 unknown
94 if (isinstance(trackable, optimizer_v1.Optimizer)
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_v1.py43 from tensorflow.python.keras import optimizer_v1
327 (isinstance(opt, optimizer_v1.Optimizer)
328 and not isinstance(opt, optimizer_v1.TFOptimizer)
Dtraining.py47 from tensorflow.python.keras import optimizer_v1
2557 isinstance(opt, optimizer_v1.Optimizer)
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dkeras_test.py41 from tensorflow.python.keras import optimizer_v1
939 model.compile(optimizer_v1.SGD(1.), 'mse')