Home
last modified time | relevance | path

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

/aosp_15_r20/external/tensorflow/tensorflow/core/framework/
H A Dgraph_def_util.cc207 std::unordered_map<string, const FunctionDef*> name_to_function; in OpsUsedByGraph() local
209 name_to_function.insert( in OpsUsedByGraph()
219 &name_to_function](const string& op) { in OpsUsedByGraph()
222 const auto it = name_to_function.find(op); in OpsUsedByGraph()
223 if (it != name_to_function.end()) { in OpsUsedByGraph()
243 if (name_to_function.find(op_name) == name_to_function.end()) { in OpsUsedByGraph()
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/
H A Dmeta_graph.py146 name_to_function = {}
148 name_to_function[fun.signature.name] = fun
156 if op not in used_ops and op in name_to_function:
157 functions_to_process.append(name_to_function[op])
172 return [op for op in used_ops if op not in name_to_function]