Home
last modified time | relevance | path

Searched refs:VarNode (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dpattern_engine.h92 class VarNode : public AnfNode {
94 VarNode(const VarPtr &value, const FuncGraphPtr &func_graph) : AnfNode(func_graph), var_(value) {} in VarNode() function
95 ~VarNode() override = default;
96 MS_DECLARE_PARENT(VarNode, AnfNode);
100 using VarNodePtr = std::shared_ptr<VarNode>;
Dvisit.cc53 if (node->isa<VarNode>()) { in GetVar()
Dpattern_engine.cc107 if (node->isa<VarNode>()) { in GetVar()
Dhelper.cc678 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), nullptr); in CreateVarNodeWithSexp()
682 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), utils::cast<FuncGraphPtr>(graph)); in CreateVarNodeWithSexp()
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dgllo_utils.cc205 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), nullptr); in CreateVarNodeWithSexp()
209 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), utils::cast<FuncGraphPtr>(graph)); in CreateVarNodeWithSexp()