Home
last modified time | relevance | path

Searched refs:namespace_var (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dfunction_block.cc159 py::tuple namespace_var = ast->CallParseModFunction(PYTHON_PARSE_GET_AST_NAMESPACE_SYMBOL, op); in MakeResolveAstOp() local
160 if (namespace_var.size() != 2) { in MakeResolveAstOp()
161 MS_LOG(EXCEPTION) << "Resolve ast op failed, get namespace tuple size=" << namespace_var.size(); in MakeResolveAstOp()
163 …NameSpacePtr name_space = std::make_shared<NameSpace>(RESOLVE_NAMESPACE_NAME_AST, namespace_var[0]… in MakeResolveAstOp()
164 SymbolPtr symbol = std::make_shared<Symbol>(namespace_var[1].cast<std::string>()); in MakeResolveAstOp()
173 …py::object namespace_var = ast->CallParseModFunction(PYTHON_MOD_GET_MEMBER_NAMESPACE_SYMBOL, ast->… in MakeResolveClassMember() local
174 …cePtr name_space = std::make_shared<NameSpace>(RESOLVE_NAMESPACE_NAME_CLASS_MEMBER, namespace_var); in MakeResolveClassMember()
240 …py::tuple namespace_var = ast->CallParseModFunction(PYTHON_PARSE_GET_OPERATION_NAMESPACE_SYMBOL, v… in MakeResolveOperation() local
242 if (namespace_var.size() < namespace_var_size) { in MakeResolveOperation()
245 …ePtr name_space = std::make_shared<NameSpace>(RESOLVE_NAMESPACE_NAME_COMMON_OPS, namespace_var[0]); in MakeResolveOperation()
[all …]
Ddata_converter.cc360 …py::object namespace_var = python_adapter::CallPyModFn(mod, PYTHON_MOD_GET_MEMBER_NAMESPACE_SYMBOL… in ConvertOtherObj() local
361 auto res = std::make_shared<NameSpace>(RESOLVE_NAMESPACE_NAME_CLASS_MEMBER, namespace_var); in ConvertOtherObj()
Dparse.cc628 …py::object namespace_var = ast_->CallParseModFunction(PYTHON_MOD_GET_MEMBER_NAMESPACE_SYMBOL, targ… in ParseSuper() local
629 …cePtr name_space = std::make_shared<NameSpace>(RESOLVE_NAMESPACE_NAME_CLASS_MEMBER, namespace_var); in ParseSuper()