Home
last modified time | relevance | path

Searched refs:var_dict (Results 1 – 10 of 10) sorted by relevance

/external/python/uritemplates/uritemplate/
Dtemplate.py25 def _merge(var_dict, overrides): argument
26 if var_dict:
27 opts = var_dict.copy()
92 def _expand(self, var_dict, replace): argument
96 expansion = var_dict
113 def expand(self, var_dict=None, **kwargs): argument
134 return self._expand(_merge(var_dict, kwargs), False)
136 def partial(self, var_dict=None, **kwargs): argument
152 return URITemplate(self._expand(_merge(var_dict, kwargs), True))
Dapi.py14 def expand(uri, var_dict=None, **kwargs): argument
35 return URITemplate(uri).expand(var_dict, **kwargs)
38 def partial(uri, var_dict=None, **kwargs): argument
54 return URITemplate(uri).partial(var_dict, **kwargs)
Dvariable.py293 def expand(self, var_dict=None): argument
323 value = var_dict.get(name, None)
/external/python/cpython3/Lib/test/
Dtest_c_locale_coercion.py271 var_dict = base_var_dict.copy()
272 var_dict[env_var] = locale_to_set
273 self._check_child_encoding_details(var_dict,
352 var_dict = base_var_dict.copy()
353 var_dict[env_var] = locale_to_set
355 self._check_child_encoding_details(var_dict,
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dcore_test.py310 var_dict = _get_variable_dict_from_varstore()
312 self.assertEqual(var_dict[var_key].name, '%s:0' % var_key)
316 var_dict = _get_variable_dict_from_varstore()
318 self.assertEqual(var_dict[var_key].name, '%s:0' % var_key)
322 var_dict = _get_variable_dict_from_varstore()
324 self.assertEqual(var_dict[var_key].name, '%s:0' % var_key)
362 var_dict = variable_scope._get_default_variable_store()._vars # pylint: disable=protected-access
364 sorted(var_dict.items(), key=lambda t: t[0]))
/external/tensorflow/tensorflow/python/tpu/
Dfeature_column_v2_test.py65 var_dict = self._all_variables[feature_column]
66 if name in var_dict:
67 return var_dict[name]
76 var_dict[name] = var
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariables_test.py249 var_dict = {}
254 var_dict["v1"] = v1
259 var_dict["v2"] = v2
264 v1 = var_dict["v1"]
265 v2 = var_dict["v2"]
Dvariable_scope_test.py504 var_dict = {}
510 var_dict["v1"] = v1
516 var_dict["v2"] = v2
521 v1 = var_dict["v1"]
522 v2 = var_dict["v2"]
/external/tensorflow/tensorflow/python/feature_column/
Dfeature_column_v2_test.py4618 var_dict = self._all_variables[feature_column]
4619 if name in var_dict:
4620 return var_dict[name]
4629 var_dict[name] = var
/external/tensorflow/tensorflow/python/eager/
Dfunction_test.py3030 var_dict = {id(v1): constant_op.constant(1),
3036 return var_dict[id(v)]