/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | tf_model_parser.h | 84 const tensorflow::FunctionDef &tf_sub_fuction, const CNodePtr &cnode, 89 const tensorflow::FunctionDef &tf_sub_fuction,
|
D | tf_model_parser.cc | 604 … const tensorflow::FunctionDef &tf_sub_fuction, const CNodePtr &cnode, in ConvertSubgraphInputs() 645 const tensorflow::FunctionDef &tf_sub_fuction, in ConvertSubgraphOutputs()
|
/third_party/python/Python/ |
D | symtable.c | 1209 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL, LOCATION(s))) in symtable_visit_stmt() 1211 if (s->v.FunctionDef.args->defaults) in symtable_visit_stmt() 1212 VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults); in symtable_visit_stmt() 1213 if (s->v.FunctionDef.args->kw_defaults) in symtable_visit_stmt() 1214 VISIT_SEQ_WITH_NULL(st, expr, s->v.FunctionDef.args->kw_defaults); in symtable_visit_stmt() 1215 if (!symtable_visit_annotations(st, s, s->v.FunctionDef.args, in symtable_visit_stmt() 1216 s->v.FunctionDef.returns)) in symtable_visit_stmt() 1218 if (s->v.FunctionDef.decorator_list) in symtable_visit_stmt() 1219 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list); in symtable_visit_stmt() 1220 if (!symtable_enter_block(st, s->v.FunctionDef.name, in symtable_visit_stmt() [all …]
|
D | ast.c | 686 ret = validate_body(state, stmt->v.FunctionDef.body, "FunctionDef") && in validate_stmt() 687 validate_arguments(state, stmt->v.FunctionDef.args) && in validate_stmt() 688 validate_exprs(state, stmt->v.FunctionDef.decorator_list, Load, 0) && in validate_stmt() 689 (!stmt->v.FunctionDef.returns || in validate_stmt() 690 validate_expr(state, stmt->v.FunctionDef.returns, Load)); in validate_stmt()
|
D | ast_opt.c | 662 CALL(astfold_arguments, arguments_ty, node_->v.FunctionDef.args); in astfold_stmt() 663 CALL(astfold_body, asdl_seq, node_->v.FunctionDef.body); in astfold_stmt() 664 CALL_SEQ(astfold_expr, expr, node_->v.FunctionDef.decorator_list); in astfold_stmt() 666 CALL_OPT(astfold_expr, expr_ty, node_->v.FunctionDef.returns); in astfold_stmt()
|
D | Python-ast.c | 1964 p->v.FunctionDef.name = name; in _PyAST_FunctionDef() 1965 p->v.FunctionDef.args = args; in _PyAST_FunctionDef() 1966 p->v.FunctionDef.body = body; in _PyAST_FunctionDef() 1967 p->v.FunctionDef.decorator_list = decorator_list; in _PyAST_FunctionDef() 1968 p->v.FunctionDef.returns = returns; in _PyAST_FunctionDef() 1969 p->v.FunctionDef.type_comment = type_comment; in _PyAST_FunctionDef() 3654 value = ast2obj_identifier(state, o->v.FunctionDef.name); in ast2obj_stmt() 3659 value = ast2obj_arguments(state, o->v.FunctionDef.args); in ast2obj_stmt() 3664 value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.body, in ast2obj_stmt() 3670 value = ast2obj_list(state, (asdl_seq*)o->v.FunctionDef.decorator_list, in ast2obj_stmt() [all …]
|
D | compile.c | 2344 args = s->v.FunctionDef.args; in compiler_function() 2345 returns = s->v.FunctionDef.returns; in compiler_function() 2346 decos = s->v.FunctionDef.decorator_list; in compiler_function() 2347 name = s->v.FunctionDef.name; in compiler_function() 2348 body = s->v.FunctionDef.body; in compiler_function()
|
/third_party/python/Parser/ |
D | pegen.c | 2224 function_def->v.FunctionDef.name, function_def->v.FunctionDef.args, in _PyPegen_function_def_decorators() 2225 function_def->v.FunctionDef.body, decorators, function_def->v.FunctionDef.returns, in _PyPegen_function_def_decorators() 2226 function_def->v.FunctionDef.type_comment, function_def->lineno, in _PyPegen_function_def_decorators() 2232 function_def->v.FunctionDef.name, function_def->v.FunctionDef.args, in _PyPegen_function_def_decorators() 2233 function_def->v.FunctionDef.body, decorators, in _PyPegen_function_def_decorators() 2234 function_def->v.FunctionDef.returns, in _PyPegen_function_def_decorators() 2235 function_def->v.FunctionDef.type_comment, function_def->lineno, in _PyPegen_function_def_decorators()
|
D | Python.asdl | 11 stmt = FunctionDef(identifier name, arguments args,
|
/third_party/mindspore/third_party/proto/tensorflow/ |
D | function.proto | 17 repeated FunctionDef function = 1; 27 message FunctionDef { message
|
/third_party/python/Doc/library/ |
D | ast.rst | 1619 .. class:: FunctionDef(name, args, body, decorator_list, returns, type_comment) 1638 expression. Unlike :class:`FunctionDef`, ``body`` holds a single node. 1693 FunctionDef( 1804 * ``decorator_list`` is a list of nodes, as in :class:`FunctionDef`. 1838 :class:`FunctionDef`. 1994 :class:`FunctionDef`, :class:`AsyncFunctionDef`, :class:`ClassDef`,
|
/third_party/python/Lib/test/ |
D | test_ast.py | 1157 f = ast.FunctionDef("x", a, [], [], None) 1159 f = ast.FunctionDef("x", a, [ast.Pass()], [ast.Name("x", ast.Store())], 1162 f = ast.FunctionDef("x", a, [ast.Pass()], [], 1166 return ast.FunctionDef("x", args, [ast.Pass()], [], None)
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | parser.py | 389 if isinstance(obj, ast.FunctionDef):
|
/third_party/python/Misc/NEWS.d/ |
D | 3.7.0b5.rst | 69 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was
|
D | 3.7.0a1.rst | 787 Add ``docstring`` field to Module, ClassDef, FunctionDef, and
|
D | 3.8.0a1.rst | 1540 Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes which was
|
/third_party/python/Lib/ |
D | ast.py | 282 if not isinstance(node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)): 778 node, (AsyncFunctionDef, FunctionDef, ClassDef, Module)
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 195 } FunctionDef; member
|