Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/graph/
Doptimizer_cse.cc61 bool Optimize(const std::function<bool(const Node*)>& consider_fn);
271 const std::function<bool(const Node*)>& consider_fn) { in Optimize() argument
307 if (consider_fn != nullptr && !consider_fn(n)) continue; in Optimize()
333 const std::function<bool(const Node*)>& consider_fn) { in OptimizeCSE() argument
335 return opt.Optimize(consider_fn); in OptimizeCSE()
Doptimizer_cse.h33 const std::function<bool(const Node*)>& consider_fn);
Doptimizer_cse_test.cc90 string DoCSE(const std::function<bool(const Node*)>& consider_fn = nullptr) { in DoCSE() argument
94 OptimizeCSE(&graph_, consider_fn); in DoCSE()