Home
last modified time | relevance | path

Searched refs:feed_nodes (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer.cc587 const absl::flat_hash_set<string>& feed_nodes) { in IsReallyConstant() argument
592 return feed_nodes.find(node.name()) == feed_nodes.end(); in IsReallyConstant()
597 const absl::flat_hash_set<string>& feed_nodes, in CheckForDeadFanout() argument
606 if (IsReallyConstant(*switch_predicate, feed_nodes)) { in CheckForDeadFanout()
645 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
661 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
669 if (IsReallyConstant(*node, feed_nodes)) { in CheckForDeadFanout()
725 absl::flat_hash_set<string> feed_nodes; in Optimize() local
727 feed_nodes.insert(NodeName(feed.first)); in Optimize()
730 feed_nodes, optimized_graph)); in Optimize()
[all …]
Dgraph_optimizer_stage.h52 gtl::FlatSet<string>* feed_nodes, in GraphOptimizerContext()
58 feed_nodes(feed_nodes), in GraphOptimizerContext()
65 gtl::FlatSet<string>* feed_nodes; member
Dloop_optimizer.h64 const absl::flat_hash_set<string>& feed_nodes,
Dfunction_optimizer.cc394 absl::flat_hash_set<absl::string_view> feed_nodes; in InferTrulyConstNodes() local
396 feed_nodes.insert(feed.first); in InferTrulyConstNodes()
401 if (IsConstant(node) && !feed_nodes.contains(node.name())) { in InferTrulyConstNodes()
Darithmetic_optimizer.cc3088 return ctx().feed_nodes->find(node.name()) == ctx().feed_nodes->end(); in IsReallyConstant()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc309 std::set<string> feed_nodes; in Init() local
311 auto iter_and_inserted_flag = feed_nodes.insert(f.first); in Init()
425 feed_nodes.find(curr_node->name()) != feed_nodes.end(); in Init()
438 feed_nodes.erase(curr_node->name()); in Init()
454 if (!feed_nodes.empty()) { in Init()
459 << str_util::Join(feed_nodes, ","); in Init()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.h51 std::set<string> feed_nodes; member
Dgrappler_item_builder.cc201 for (const auto& feed_node : cfg.feed_nodes) { in GrapplerItemFromMetaGraphDef()
499 if (cfg.feed_nodes.empty()) { in GrapplerItemFromMetaGraphDef()
504 } else if (cfg.feed_nodes.count(node.name()) > 0) { in GrapplerItemFromMetaGraphDef()
Dgrappler_item_builder_test.cc326 config.feed_nodes.insert("x"); in TEST_F()