Searched refs:var_dict (Results 1 – 11 of 11) sorted by relevance
/external/python/uritemplates/uritemplate/ |
D | template.py | 24 def _merge(var_dict, overrides): argument 25 if var_dict: 26 opts = var_dict.copy() 90 def _expand(self, var_dict, replace): argument 94 expansion = var_dict 111 def expand(self, var_dict=None, **kwargs): argument 132 return self._expand(_merge(var_dict, kwargs), False) 134 def partial(self, var_dict=None, **kwargs): argument 150 return URITemplate(self._expand(_merge(var_dict, kwargs), True))
|
D | api.py | 12 def expand(uri, var_dict=None, **kwargs): argument 33 return URITemplate(uri).expand(var_dict, **kwargs) 36 def partial(uri, var_dict=None, **kwargs): argument 52 return URITemplate(uri).partial(var_dict, **kwargs)
|
D | variable.py | 291 def expand(self, var_dict=None): argument 321 value = var_dict.get(name, None)
|
/external/python/cpython3/Lib/test/ |
D | test_c_locale_coercion.py | 275 var_dict = base_var_dict.copy() 276 var_dict[env_var] = locale_to_set 277 self._check_child_encoding_details(var_dict, 356 var_dict = base_var_dict.copy() 357 var_dict[env_var] = locale_to_set 359 self._check_child_encoding_details(var_dict,
|
/external/tensorflow/tensorflow/python/layers/ |
D | core_test.py | 325 var_dict = _get_variable_dict_from_varstore() 327 self.assertEqual(var_dict[var_key].name, '%s:0' % var_key) 331 var_dict = _get_variable_dict_from_varstore() 333 self.assertEqual(var_dict[var_key].name, '%s:0' % var_key) 337 var_dict = _get_variable_dict_from_varstore() 339 self.assertEqual(var_dict[var_key].name, '%s:0' % var_key) 377 var_dict = variable_scope._get_default_variable_store()._vars # pylint: disable=protected-access 379 sorted(var_dict.items(), key=lambda t: t[0]))
|
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
D | variables.py | 735 var_dict = var_list 737 var_dict = {var.op.name: var for var in var_list} 739 for var in var_dict: 741 available_vars[var] = var_dict[var]
|
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
D | optimizers_test.py | 480 var_dict = {} 483 var_dict[var.name.split(":")[0]] = var 484 self.assertEqual(2, len(var_dict)) 485 moving_mean = var_dict["AdaptiveMaxNorm/mean"] 486 moving_sq_mean = var_dict["AdaptiveMaxNorm/sq_mean"]
|
/external/u-boot/tools/buildman/ |
D | toolchain.py | 346 def ResolveReferences(self, var_dict, args): argument 375 value = var_dict.get(lookup, '')
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | variables_test.py | 220 var_dict = {} 225 var_dict["v1"] = v1 230 var_dict["v2"] = v2 235 v1 = var_dict["v1"] 236 v2 = var_dict["v2"]
|
D | variable_scope_test.py | 477 var_dict = {} 483 var_dict["v1"] = v1 489 var_dict["v2"] = v2 494 v1 = var_dict["v1"] 495 v2 = var_dict["v2"]
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column_v2_test.py | 6213 var_dict = self._all_variables[feature_column] 6214 if name in var_dict: 6215 return var_dict[name] 6224 var_dict[name] = var
|