Searched refs:var_dict (Results 1 – 10 of 10) sorted by relevance
/external/python/uritemplates/uritemplate/ |
D | template.py | 25 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))
|
D | api.py | 14 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)
|
D | variable.py | 293 def expand(self, var_dict=None): argument 323 value = var_dict.get(name, None)
|
/external/python/cpython3/Lib/test/ |
D | test_c_locale_coercion.py | 271 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/ |
D | core_test.py | 310 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/ |
D | feature_column_v2_test.py | 65 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/ |
D | variables_test.py | 249 var_dict = {} 254 var_dict["v1"] = v1 259 var_dict["v2"] = v2 264 v1 = var_dict["v1"] 265 v2 = var_dict["v2"]
|
D | variable_scope_test.py | 504 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/ |
D | feature_column_v2_test.py | 4618 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/ |
D | function_test.py | 3030 var_dict = {id(v1): constant_op.constant(1), 3036 return var_dict[id(v)]
|