Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgraph_optimizer_stage.cc34 NodeDef* node_by_name = ctx.node_map->GetNode(node_name); in GetInputNode() local
35 if (node_by_name == nullptr) { in GetInputNode()
39 *node = node_by_name; in GetInputNode()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_util.cc439 std::unordered_map<string, std::pair<bool, const NodeDef*>> node_by_name; in PruneGraphDefInto() local
441 node_by_name[node.name()] = std::pair<bool, const NodeDef*>(false, &node); in PruneGraphDefInto()
453 auto find_it = node_by_name.find(name); in PruneGraphDefInto()
454 if (find_it == node_by_name.end()) { in PruneGraphDefInto()
484 if (node_by_name[node.name()].first) { in PruneGraphDefInto()