Home
last modified time | relevance | path

Searched refs:local_vars (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/contrib/opt/python/training/
Dagn_optimizer.py152 local_vars = [v for g, v in grads_and_vars if g is not None]
171 grad_vars = [self._grad_map[var] for var in local_vars]
175 global_center_vars = [self._global_map[var] for var in local_vars]
195 for lvar in local_vars:
221 local_vars = variables.trainable_variables()
222 global_center_vars = [self._global_map[var] for var in local_vars]
223 grad_vars = [self._grad_map[var] for var in local_vars]
224 if not (local_vars and global_center_vars and grad_vars):
227 for lvar, gc_var in zip(local_vars, global_center_vars):
Delastic_average_optimizer.py314 local_vars = [v for g, v in grads_and_vars if g is not None]
315 global_center_vars = [self._global_map[var] for var in local_vars]
316 local_center_vars = [self._local_map[var] for var in local_vars]
323 for v, lv in zip(local_vars, local_center_vars):
326 for lvar, diff in zip(local_vars, differences):
378 local_vars = variables.trainable_variables()
379 global_center_vars = [self._global_map[var] for var in local_vars]
380 local_center_vars = [self._local_map[var] for var in local_vars]
381 if not (local_vars and global_center_vars and local_center_vars):
384 for lvar, gc_var, lc_var in zip(local_vars, global_center_vars,
Dmodel_average_optimizer.py222 local_vars = [v for g, v in grads_and_vars if g is not None]
223 global_vars = [self._local_2_global[v] for v in local_vars]
231 for var, gvar in zip(local_vars, global_vars):
265 local_update_op = self._local_vars_update(local_vars)
/external/python/cpython2/Lib/distutils/
Dutil.py190 def subst_vars (s, local_vars): argument
200 def _subst (match, local_vars=local_vars): argument
202 if var_name in local_vars:
203 return str(local_vars[var_name])
/external/autotest/client/bin/
Djob.py983 def _run_step_fn(self, local_vars, fn, args, dargs): argument
986 local_vars['__args'] = args
987 local_vars['__dargs'] = dargs
989 exec('__ret = %s(*__args, **__dargs)' % fn, local_vars, local_vars)
990 return local_vars['__ret']
1036 def _add_step_init(self, local_vars, current_function): argument
1042 if (isinstance(local_vars, dict) and
1043 'step_init' in local_vars and
1044 callable(local_vars['step_init'])):
1098 local_vars, self._current_step_ancestry = ret
[all …]
/external/python/cpython3/Lib/distutils/
Dutil.py174 def subst_vars (s, local_vars): argument
184 def _subst (match, local_vars=local_vars): argument
186 if var_name in local_vars:
187 return str(local_vars[var_name])
/external/python/apitools/samples/dns_sample/dns_v1/
Ddns_v1.py148 local_vars = {
156 local_vars, histfile=FLAGS.history_file)
158 console = code.InteractiveConsole(local_vars)
/external/tensorflow/tensorflow/python/keras/saving/
Dsaved_model.py318 local_vars = set(ops.get_collection(ops.GraphKeys.LOCAL_VARIABLES))
328 vars_to_add = vars_to_add.difference(local_vars)
/external/python/apitools/samples/iam_sample/iam_v1/
Diam_v1.py184 local_vars = {
192 local_vars, histfile=FLAGS.history_file)
194 console = code.InteractiveConsole(local_vars)
/external/tensorflow/tensorflow/python/ops/distributions/
Dutil.py1362 arg_names, variable_arg_name, keyword_arg_name, local_vars = (
1369 local_vars.pop(variable_arg_name, {})
1370 keyword_args = local_vars.pop(keyword_arg_name, {})
1377 final_args[arg_name] = local_vars.pop(arg_name)
/external/python/cpython2/Lib/
Dsysconfig.py141 def _subst_vars(s, local_vars): argument
143 return s.format(**local_vars)
/external/python/cpython3/Lib/
Dsysconfig.py151 def _subst_vars(s, local_vars): argument
153 return s.format(**local_vars)
/external/python/apitools/samples/bigquery_sample/bigquery_v2/
Dbigquery_v2.py148 local_vars = {
156 local_vars, histfile=FLAGS.history_file)
158 console = code.InteractiveConsole(local_vars)
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1.py184 local_vars = {
192 local_vars, histfile=FLAGS.history_file)
194 console = code.InteractiveConsole(local_vars)
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/
Dfusiontables_v1.py148 local_vars = {
156 local_vars, histfile=FLAGS.history_file)
158 console = code.InteractiveConsole(local_vars)
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidation_state.h431 std::unordered_set<uint32_t>& local_vars() { return local_vars_; } in local_vars() function
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidation_state.h447 std::unordered_set<uint32_t>& local_vars() { return local_vars_; } in local_vars() function
/external/toolchain-utils/cros_utils/
Dbuildbot_json.py1097 local_vars = {'buildbot': buildbot, 'b': buildbot}
1098 code.interact(prompt, None, local_vars)
/external/python/apitools/samples/storage_sample/storage_v1/
Dstorage_v1.py148 local_vars = {
156 local_vars, histfile=FLAGS.history_file)
158 console = code.InteractiveConsole(local_vars)
/external/python/cpython2/Doc/distutils/
Dapiref.rst1156 .. function:: subst_vars(s, local_vars)
1160 by the value found in the *local_vars* dictionary, or in ``os.environ`` if it's
1161 not in *local_vars*. *os.environ* is first checked/augmented to guarantee that
1163 for any variables not found in either *local_vars* or ``os.environ``.
/external/python/cpython3/Doc/distutils/
Dapiref.rst1159 .. function:: subst_vars(s, local_vars)
1163 by the value found in the *local_vars* dictionary, or in ``os.environ`` if it's
1164 not in *local_vars*. *os.environ* is first checked/augmented to guarantee that
1166 for any variables not found in either *local_vars* or ``os.environ``.