Searched refs:global_vars (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | model_average_optimizer.py | 217 global_vars = [self._local_2_global[v] for v in local_vars] 225 for var, gvar in zip(local_vars, global_vars): 243 for avg_var, gvar in zip(aggregated_vars, global_vars):
|
D | moving_average_optimizer_test.py | 72 global_vars = variables.global_variables() 74 v for v in global_vars 78 v for v in global_vars
|
/external/tensorflow/tensorflow/python/framework/ |
D | meta_graph_test.py | 268 global_vars = graph1.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) 270 self.assertEqual(len(global_vars), 1) 272 self.assertIs(global_vars[0], trainable_vars[0]) 273 self.assertIs(v, global_vars[0]) 280 global_vars = graph2.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) 282 self.assertEqual(len(global_vars), 1) 285 self.assertIs(global_vars[0], trainable_vars[0])
|
D | function_test.py | 869 global_vars = variables.global_variables() 870 self.assertEqual(len(global_vars), 1) 871 self.assertEqual(global_vars[0].name, "linear/w:0") 897 global_vars = variables.global_variables() 898 self.assertEqual(len(global_vars), 1) 899 self.assertEqual(global_vars[0].name, "vs1/var:0")
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column_test.py | 3729 global_vars = ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) 3731 ('embedding_weights:0',), tuple([v.name for v in global_vars])) 3733 self.assertAllEqual(embedding_values, global_vars[0].eval()) 3789 global_vars = ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) 3791 ('embedding_weights:0',), tuple([v.name for v in global_vars])) 3793 self.assertAllEqual(embedding_values, global_vars[0].eval()) 3882 global_vars = ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) 3884 ('embedding_weights:0',), tuple([v.name for v in global_vars])) 3886 self.assertAllEqual(embedding_values, global_vars[0].eval()) 3944 global_vars = ops.get_collection(ops.GraphKeys.GLOBAL_VARIABLES) [all …]
|
/external/autotest/client/bin/ |
D | job.py | 967 def _create_frame(self, global_vars, ancestry, fn_name): argument 985 current_frame = copy.copy(global_vars)
|
/external/python/cpython3/Lib/test/ |
D | test_inspect.py | 1066 global_vars = {"_global_ref": _global_ref} 1069 expected = inspect.ClosureVars(nonlocal_vars, global_vars, 1081 global_vars = {"_global_ref": _global_ref} 1084 expected = inspect.ClosureVars(nonlocal_vars, global_vars, 1096 global_vars = {"_global_ref": _global_ref} 1099 expected = inspect.ClosureVars(nonlocal_vars, global_vars,
|
/external/python/cpython3/Lib/ |
D | inspect.py | 1372 global_vars = {} 1381 global_vars[name] = global_ns[name] 1388 return ClosureVars(nonlocal_vars, global_vars,
|