Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse_dynamic.h39 …static void ParseInputArgs(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object &…
40 …static bool ParseBodyContext(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object…
42 …static bool ParseIfWhileExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::ob…
43 …static bool ParseAssignExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::obj…
44 …static bool ParseAugAssignExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::…
46 …static bool ParseForExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object…
47 …static std::string ParseNodeName(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::ob…
Dparse_dynamic.cc36 std::string DynamicParser::ParseNodeName(const std::shared_ptr<parse::ParseFunctionAst> &ast, const… in ParseNodeName()
56 void DynamicParser::ParseInputArgs(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::o… in ParseInputArgs()
66 bool DynamicParser::ParseIfWhileExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const… in ParseIfWhileExprNode()
115 bool DynamicParser::ParseAssignExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const … in ParseAssignExprNode()
143 bool DynamicParser::ParseAugAssignExprNode(const std::shared_ptr<parse::ParseFunctionAst> &, const … in ParseAugAssignExprNode() argument
171 bool DynamicParser::ParseForExprNode(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py:… in ParseForExprNode()
191 bool DynamicParser::ParseBodyContext(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py:… in ParseBodyContext()
239 auto ast = std::make_shared<parse::ParseFunctionAst>(cell); in IsDynamicCell()
Dparse.h60 class ParseFunctionAst; variable
92 explicit Parser(const std::shared_ptr<ParseFunctionAst> &ast);
98 std::shared_ptr<ParseFunctionAst> ast() const { return ast_; } in ast()
269 const std::shared_ptr<ParseFunctionAst> &ast_;
313 class ParseFunctionAst {
315 explicit ParseFunctionAst(const py::object &obj) in ParseFunctionAst() function
318 ~ParseFunctionAst() = default;
Dparse.cc46 auto ast = std::make_shared<ParseFunctionAst>(obj); in ParsePythonCode()
93 Parser::Parser(const std::shared_ptr<ParseFunctionAst> &ast) : ast_(ast) { in Parser()
152 void CheckFuncReturn(const FuncGraphPtr &fn, const std::shared_ptr<ParseFunctionAst> &ast) { in CheckFuncReturn()
1972 bool ParseFunctionAst::InitParseAstInfo(const std::string &python_mod_get_parse_method) { in InitParseAstInfo()
2035 py::object ParseFunctionAst::GetAstNode() { in GetAstNode()
2042 py::str ParseFunctionAst::GetAstNodeText(const py::object &node_obj) { in GetAstNodeText()
2046 py::list ParseFunctionAst::GetArgs(const py::object &func_node) { in GetArgs()
2051 py::list ParseFunctionAst::GetArgsDefaultValues(const py::object &func_node) { in GetArgsDefaultValues()
2056 AstNodeTypePtr ParseFunctionAst::GetNodeType(const py::object &node) { in GetNodeType()
2067 AstSubType ParseFunctionAst::GetOpType(const py::object &node) { in GetOpType()
[all …]
/third_party/mindspore/tests/ut/cpp/pipeline/parse/
Dparser_test.cc68 ParseFunctionAst ast = ParseFunctionAst(fn); in TEST_F()