Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dgraph_def_util.cc169 std::unordered_map<string, const FunctionDef*> name_to_function; in OpsUsedByGraph() local
171 name_to_function.insert( in OpsUsedByGraph()
181 &name_to_function](const string& op) { in OpsUsedByGraph()
184 const auto it = name_to_function.find(op); in OpsUsedByGraph()
185 if (it != name_to_function.end()) { in OpsUsedByGraph()
205 if (name_to_function.find(op_name) == name_to_function.end()) { in OpsUsedByGraph()
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py149 name_to_function = {}
151 name_to_function[fun.signature.name] = fun
159 if op not in used_ops and op in name_to_function:
160 functions_to_process.append(name_to_function[op])
170 return [op for op in used_ops if op not in name_to_function]