Home
last modified time | relevance | path

Searched refs:var_to_shape_map (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/tools/
Dinspect_checkpoint.py35 var_to_shape_map = reader.get_variable_to_shape_map()
43 for v in var_to_shape_map:
46 exclude_num_params += np.prod(var_to_shape_map[v])
48 new_var_to_shape_map[v] = var_to_shape_map[v]
49 var_to_shape_map = new_var_to_shape_map
53 var_sizes = [np.prod(var_to_shape_map[v]) for v in var_to_shape_map]
77 var_to_shape_map = reader.get_variable_to_shape_map()
79 for key, value in sorted(var_to_shape_map.items()):
90 var_to_shape_map = reader.get_variable_to_shape_map()
94 var_to_shape_map[tensor_name]))
Dfreeze_graph.py165 var_to_shape_map = reader.get_variable_to_shape_map()
177 for key in var_to_shape_map:
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc134 std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map( in BuildV2VarMaps() local
145 (*var_to_shape_map)[key] = TensorShape(entry.shape()); in BuildV2VarMaps()
149 return std::make_pair(std::move(var_to_shape_map), in BuildV2VarMaps()