Home
last modified time | relevance | path

Searched refs:visitor_func (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_graph.cc318 const VisitorFunction& visitor_func, const CallGraphNode& node, in VisitNodesInternal() argument
328 VisitNodesInternal(visitor_func, GetNode(computation), visited)); in VisitNodesInternal()
331 return visitor_func(node); in VisitNodesInternal()
334 Status CallGraph::VisitNodes(const VisitorFunction& visitor_func, in VisitNodes() argument
341 TF_RETURN_IF_ERROR(VisitNodesInternal(visitor_func, node, &visited)); in VisitNodes()
347 visitor_func, GetNode(module_->entry_computation()), &visited)); in VisitNodes()
Dcall_graph.h200 Status VisitNodes(const VisitorFunction& visitor_func,
274 const VisitorFunction& visitor_func, const CallGraphNode& node,
Ddfs_hlo_visitor_with_default.h248 std::function<Status(HloInstructionPtr)> visitor_func) in FunctionVisitorBase() argument
249 : visitor_func_(std::move(visitor_func)) {} in FunctionVisitorBase()
Dhlo_computation.h315 Status Accept(const std::function<Status(HloInstruction*)>& visitor_func);
317 const std::function<Status(const HloInstruction*)>& visitor_func) const;
Dhlo_computation.cc873 const std::function<Status(HloInstruction*)>& visitor_func) { in Accept() argument
874 FunctionVisitor visitor(visitor_func); in Accept()
879 const std::function<Status(const HloInstruction*)>& visitor_func) const { in Accept()
880 ConstFunctionVisitor visitor(visitor_func); in Accept()
Dhlo_instruction.h1025 Status Accept(const std::function<Status(HloInstruction*)>& visitor_func);
1027 const std::function<Status(const HloInstruction*)>& visitor_func) const;
Dhlo_instruction.cc2825 const std::function<Status(HloInstruction*)>& visitor_func) { in Accept() argument
2826 FunctionVisitor visitor(visitor_func); in Accept()
2831 const std::function<Status(const HloInstruction*)>& visitor_func) const { in Accept()
2832 ConstFunctionVisitor visitor(visitor_func); in Accept()