Home
last modified time | relevance | path

Searched refs:prev_tensor_name (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/training/
Dwarm_starting_util.py149 def _get_var_info(var, prev_tensor_name=None): argument
175 if not prev_tensor_name:
177 prev_tensor_name = current_var_name
179 return prev_tensor_name, var
192 prev_tensor_name=None, argument
246 if not prev_tensor_name:
248 prev_tensor_name = _infer_var_name(var)
290 old_tensor_name=prev_tensor_name,
458 prev_tensor_name=prev_var_name,
472 prev_tensor_name, var = _get_var_info(variable, prev_var_name)
[all …]
Dwarm_starting_util_test.py125 prev_tensor_name, var = ws_util._get_var_info(fruit_weights)
127 {prev_tensor_name: var})
143 prev_tensor_name, var = ws_util._get_var_info(fruit_weights)
145 {prev_tensor_name: var})
162 prev_tensor_name, var = ws_util._get_var_info(fruit_weights)
164 {prev_tensor_name: var})
188 prev_tensor_name, var = ws_util._get_var_info(
189 fruit_weights, prev_tensor_name="old_scope/fruit_weights")
191 {prev_tensor_name: var})