Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse_dynamic.cc56 …r::ParseInputArgs(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object &fn_node) { in ParseInputArgs() argument
58 py::list args = ast->GetArgs(fn_node); in ParseInputArgs()
191 …r::ParseBodyContext(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object &fn_node, in ParseBodyContext() argument
194 py::object func_obj = parse::python_adapter::GetPyObjAttr(fn_node, parse::NAMED_PRIMITIVE_BODY); in ParseBodyContext()
245 py::object fn_node = ast->GetAstNode(); in IsDynamicCell() local
247 ParseInputArgs(ast, fn_node); in IsDynamicCell()
250 ret = ParseBodyContext(ast, fn_node); in IsDynamicCell()
Dparse_dynamic.h39 …oid ParseInputArgs(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object &fn_node);
40 …ol ParseBodyContext(const std::shared_ptr<parse::ParseFunctionAst> &ast, const py::object &fn_node,
Dparse.cc188 void Parser::GenerateArgsNodeForFunction(const FunctionBlockPtr &block, const py::object &fn_node) { in GenerateArgsNodeForFunction() argument
189 py::object func_args = python_adapter::GetPyObjAttr(fn_node, "args"); in GenerateArgsNodeForFunction()
202 py::list args = ast_->GetArgs(fn_node); in GenerateArgsNodeForFunction()
222 …er::GenerateArgsDefaultValueForFunction(const FunctionBlockPtr &block, const py::object &fn_node) { in GenerateArgsDefaultValueForFunction() argument
224 py::list defaults = ast_->GetArgsDefaultValues(fn_node); in GenerateArgsDefaultValueForFunction()
225 py::list args = ast_->GetArgs(fn_node); in GenerateArgsDefaultValueForFunction()
/third_party/mindspore/tests/ut/cpp/abstract/
Dabstract_test.cc81 ValueNodePtr fn_node = NewValueNode(obj); in TEST_F() local
82 AnfNodeConfigPtr fn_conf = std::make_shared<AnfNodeConfig>(nullptr, fn_node, nullptr, nullptr); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dunpack_call.cc57 AnfNodePtr fn_node = ret_graph->add_parameter(); in GenerateFuncGraph() local
59 elems.push_back(fn_node); in GenerateFuncGraph()