Home
last modified time | relevance | path

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

12345678910>>...17

/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py366 weights = opt1.get_weights()
385 weights = opt1.get_weights()
576 model_v2.set_weights(model_v1.get_weights())
580 opt_v2.set_weights(opt_v1.get_weights())
584 self.assertAllClose(model_v1.get_weights(), model_v2.get_weights(),
647 model_k_v2.set_weights(model_k_v1.get_weights())
650 model_tf.set_weights(model_k_v2.get_weights())
665 self.assertAllClose(model_k_v1.get_weights(), model_tf.get_weights())
666 self.assertAllClose(model_k_v1.get_weights(), model_k_v2.get_weights())
667 self.assertAllClose(opt_k_v1.get_weights(), opt_k_v2.get_weights())
[all …]
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Drnn_cells_test.py53 self.assertEqual(len(pruning.get_weights()), expected_num_masks)
57 for weight in pruning.get_weights():
77 self.assertEqual(len(pruning.get_weights()), expected_num_masks)
81 for weight in pruning.get_weights():
/external/tensorflow/tensorflow/contrib/training/python/training/
Dresample_test.py58 weights = self.get_weights(count)
104 weights = self.get_weights(count)
162 weights = math_ops.cast(self.get_weights(count), dtypes.float64)
169 def get_weights(self, n, mean=10.0, stddev=5): member in ResampleTest
/external/tensorflow/tensorflow/contrib/distribute/python/
Dkeras_correctness_test_base.py245 result['weights_1'] = model.get_weights()
265 result['weights_2'] = model.get_weights()
397 initial_weights = model.get_weights()
465 initial_weights = model.get_weights()
Dkeras_test.py736 cpu_model.set_weights(model_with_ds_strategy.get_weights())
773 cpu_model.set_weights(model_with_ds_strategy.get_weights())
813 interleaved_model.set_weights(user_controlled_model.get_weights())
1111 initial_weights = model.get_weights()
1182 cpu_model.set_weights(model_with_ds_strategy.get_weights())
1214 cpu_model.set_weights(model_with_ds_strategy.get_weights())
1267 v = model.get_weights()[0]
Dkeras_backward_compat_test.py502 interleaved_model.set_weights(user_controlled_model.get_weights())
703 initial_weights = model.get_weights()
1027 initial_weights = model.get_weights()
1052 result['weights_1'] = model.get_weights()
1062 result['weights_2'] = model.get_weights()
/external/tensorflow/tensorflow/python/keras/layers/
Dwrappers_test.py170 self.assertAllClose(td.get_weights()[2], np.array([0, 0]))
171 assert np.array_equal(td.get_weights()[3], np.array([1, 1]))
176 assert not np.array_equal(td.get_weights()[2], np.array([0, 0]))
177 assert not np.array_equal(td.get_weights()[3], np.array([1, 1]))
355 weights = model.layers[-1].get_weights()
608 weights = model.get_weights()
656 weights = model.get_weights()
Dgru_v2_test.py162 weights = gru_model.get_weights()
219 self.assertAllClose(layer.get_weights(), new_layer.get_weights())
235 weights = cpu_model.get_weights()
296 weights = gru_model.get_weights()
Dlstm_v2_test.py329 weights = lstm_model.get_weights()
438 weights = lstm_model.get_weights()
509 self.assertAllClose(layer.get_weights(), new_layer.get_weights())
525 weights = cpu_model.get_weights()
/external/tensorflow/tensorflow/contrib/model_pruning/
D__init__.py34 from tensorflow.contrib.model_pruning.python.pruning import get_weights
/external/libopus/scripts/
Ddump_rnn.py38 weights = model.get_weights()
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dcomposable_model.py196 def get_weights(self, model_dir): member in LinearComposableModel
318 def get_weights(self, model_dir): member in DNNComposableModel
/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py117 weights = layer.get_weights()
162 weights = model.get_weights()
211 weights = model.get_weights()
Dmodels_test.py347 weights = model_copy.get_weights()
351 np.allclose(model.get_weights()[0],
352 model_copy.get_weights()[0]))
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.optimizers.-optimizer.pbtxt55 name: "get_weights"
Dtensorflow.optimizers.-optimizer.pbtxt55 name: "get_weights"
Dtensorflow.optimizers.-r-m-sprop.pbtxt56 name: "get_weights"
Dtensorflow.optimizers.-ftrl.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-nadam.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-adamax.pbtxt56 name: "get_weights"
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.optimizers.-optimizer.pbtxt55 name: "get_weights"
Dtensorflow.keras.optimizers.-adamax.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-r-m-sprop.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-adadelta.pbtxt56 name: "get_weights"
Dtensorflow.keras.optimizers.-ftrl.pbtxt56 name: "get_weights"

12345678910>>...17