Searched refs:fn_node (Results 1 – 5 of 5) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/ |
D | parse_dynamic.cc | 56 …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()
|
D | parse_dynamic.h | 39 …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,
|
D | parse.cc | 188 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/ |
D | abstract_test.cc | 81 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/ |
D | unpack_call.cc | 57 AnfNodePtr fn_node = ret_graph->add_parameter(); in GenerateFuncGraph() local 59 elems.push_back(fn_node); in GenerateFuncGraph()
|