/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | optimizer_v2_test.py | 397 weights = opt1.get_weights() 416 weights = opt1.get_weights() 675 model_v2.set_weights(model_v1.get_weights()) 684 opt_v2.set_weights(opt_v1.get_weights()) 688 self.assertAllClose(model_v1.get_weights(), model_v2.get_weights(), 755 model_k_v2.set_weights(model_k_v1.get_weights()) 758 model_tf.set_weights(model_k_v2.get_weights()) 788 self.assertAllClose(model_k_v1.get_weights(), model_tf.get_weights()) 789 self.assertAllClose(model_k_v1.get_weights(), model_k_v2.get_weights()) 790 self.assertAllClose(opt_k_v1.get_weights(), opt_k_v2.get_weights()) [all …]
|
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/ |
D | layer_correctness_test.py | 192 f32_weights = f32_model.get_weights() 220 f32_weights = f32_model.get_weights() 222 mp_model.get_weights(), f32_weights, rtol=rtol, atol=atol) 224 distributed_mp_model.get_weights(), f32_weights, rtol=rtol, atol=atol)
|
D | loss_scale_optimizer.py | 293 def get_weights(self): member in LossScaleOptimizer 294 return self._optimizer.get_weights()
|
/external/tensorflow/tensorflow/python/distribute/ |
D | ctl_correctness_test.py | 157 return (model.get_weights(), 212 return (model.get_weights(), 248 initial_weights = model.get_weights()
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | model_subclassing_test.py | 295 weights = model.get_weights() 308 self.assertAllClose(weights, model.get_weights()) 310 self.assertAllClose(weights, model.get_weights()) 393 self.assertLen(m.get_weights(), 2) 398 self.assertLen(m.get_weights(), 2) 406 self.assertLen(m.get_weights(), 4) 420 self.assertLen(m.get_weights(), 4)
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | keras_correctness_test_base.py | 269 result['weights_1'] = model.get_weights() 289 result['weights_2'] = model.get_weights() 462 initial_weights = model.get_weights() 550 initial_weights = model.get_weights()
|
/external/libopus/scripts/ |
D | dump_rnn.py | 38 weights = model.get_weights()
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | gru_v2_test.py | 177 weights = gru_model.get_weights() 234 self.assertAllClose(layer.get_weights(), new_layer.get_weights()) 250 weights = cpu_model.get_weights() 311 weights = gru_model.get_weights()
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | base_preprocessing_layer_test.py | 326 weights = model.get_weights() 353 weights = model.get_weights()
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.optimizers.-optimizer.pbtxt | 55 name: "get_weights"
|
D | tensorflow.optimizers.-optimizer.pbtxt | 55 name: "get_weights"
|
D | tensorflow.keras.optimizers.-adagrad.pbtxt | 56 name: "get_weights"
|
D | tensorflow.keras.optimizers.-nadam.pbtxt | 56 name: "get_weights"
|
D | tensorflow.optimizers.-adagrad.pbtxt | 56 name: "get_weights"
|
D | tensorflow.optimizers.-adadelta.pbtxt | 56 name: "get_weights"
|
D | tensorflow.optimizers.-s-g-d.pbtxt | 56 name: "get_weights"
|
D | tensorflow.keras.optimizers.-adamax.pbtxt | 56 name: "get_weights"
|
D | tensorflow.optimizers.-ftrl.pbtxt | 56 name: "get_weights"
|
D | tensorflow.optimizers.-nadam.pbtxt | 56 name: "get_weights"
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.optimizers.-optimizer.pbtxt | 55 name: "get_weights"
|
D | tensorflow.keras.optimizers.-nadam.pbtxt | 56 name: "get_weights"
|
D | tensorflow.keras.optimizers.-adagrad.pbtxt | 56 name: "get_weights"
|
D | tensorflow.keras.optimizers.-adam.pbtxt | 56 name: "get_weights"
|
D | tensorflow.keras.optimizers.-ftrl.pbtxt | 56 name: "get_weights"
|
/external/tensorflow/tensorflow/python/keras/ |
D | callbacks_test.py | 679 weights_after_one_more_epoch = model.get_weights() 702 weights_after_model_restoring_and_one_more_epoch = model.get_weights() 717 weights_with_one_final_extra_epoch = model.get_weights() 745 weights_after_model_restoring_and_one_more_epoch = model.get_weights() 779 weights_before_additional_fit = model.get_weights() 783 weights_after_additional_fit = model.get_weights() 882 weights = model.get_weights() 927 def get_weights(self): member in KerasCallbacksTest.test_EarlyStopping_final_weights_when_restoring_model_weights.DummyModel 953 self.assertEqual(early_stop.model.get_weights(), 2)
|