Searched refs:get_weights (Results 1 – 25 of 420) sorted by relevance
12345678910>>...17
366 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 …]
53 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():
58 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
245 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()
736 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]
502 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()
170 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()
162 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()
329 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()
34 from tensorflow.contrib.model_pruning.python.pruning import get_weights
38 weights = model.get_weights()
196 def get_weights(self, model_dir): member in LinearComposableModel318 def get_weights(self, model_dir): member in DNNComposableModel
117 weights = layer.get_weights()162 weights = model.get_weights()211 weights = model.get_weights()
347 weights = model_copy.get_weights()351 np.allclose(model.get_weights()[0],352 model_copy.get_weights()[0]))
55 name: "get_weights"
56 name: "get_weights"