Home
last modified time | relevance | path

Searched refs:get_weights (Results 1 – 25 of 436) sorted by relevance

12345678910>>...18

/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py397 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/
Dlayer_correctness_test.py192 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)
Dloss_scale_optimizer.py293 def get_weights(self): member in LossScaleOptimizer
294 return self._optimizer.get_weights()
/external/tensorflow/tensorflow/python/distribute/
Dctl_correctness_test.py157 return (model.get_weights(),
212 return (model.get_weights(),
248 initial_weights = model.get_weights()
/external/tensorflow/tensorflow/python/keras/tests/
Dmodel_subclassing_test.py295 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/
Dkeras_correctness_test_base.py269 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/
Ddump_rnn.py38 weights = model.get_weights()
/external/tensorflow/tensorflow/python/keras/layers/
Dgru_v2_test.py177 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/
Dbase_preprocessing_layer_test.py326 weights = model.get_weights()
353 weights = model.get_weights()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.optimizers.-optimizer.pbtxt55 name: "get_weights"
Dtensorflow.optimizers.-optimizer.pbtxt55 name: "get_weights"
Dtensorflow.keras.optimizers.-adagrad.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-nadam.pbtxt56 name: "get_weights"
Dtensorflow.optimizers.-adagrad.pbtxt56 name: "get_weights"
Dtensorflow.optimizers.-adadelta.pbtxt56 name: "get_weights"
Dtensorflow.optimizers.-s-g-d.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-adamax.pbtxt56 name: "get_weights"
Dtensorflow.optimizers.-ftrl.pbtxt56 name: "get_weights"
Dtensorflow.optimizers.-nadam.pbtxt56 name: "get_weights"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.optimizers.-optimizer.pbtxt55 name: "get_weights"
Dtensorflow.keras.optimizers.-nadam.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-adagrad.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-adam.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-ftrl.pbtxt56 name: "get_weights"
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py679 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)

12345678910>>...18