Home
last modified time | relevance | path

Searched refs:global_vars (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/contrib/opt/python/training/
Dmodel_average_optimizer.py217 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):
Dmoving_average_optimizer_test.py72 global_vars = variables.global_variables()
74 v for v in global_vars
78 v for v in global_vars
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph_test.py268 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])
Dfunction_test.py869 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/
Dfeature_column_test.py3729 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/
Djob.py967 def _create_frame(self, global_vars, ancestry, fn_name): argument
985 current_frame = copy.copy(global_vars)
/external/python/cpython3/Lib/test/
Dtest_inspect.py1066 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/
Dinspect.py1372 global_vars = {}
1381 global_vars[name] = global_ns[name]
1388 return ClosureVars(nonlocal_vars, global_vars,