Home
last modified time | relevance | path

Searched defs:FunctionDef (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/ast_helpers/
Dast_modifier.py56 def erase_ast_from_function(ast_func: ast.FunctionDef, to_erase: ast.AST) -> bool:
150 …def insert_assign_to_function(ast_func: ast.FunctionDef, targets: [ScopedValue], expr: ScopedValue,
178 def insert_ast_to_function(ast_func: ast.FunctionDef, ast_node: ast.AST,
233 def append_arg_to_function(ast_func: ast.FunctionDef, ast_arg: ast.arg) -> ast.AST:
258 def append_global_vars_expr_to_init(init_func: ast.FunctionDef, targets: [ScopedValue],
Dast_flattener.py245 def visit_FunctionDef(self, node: ast.FunctionDef) -> Any: # pylint: disable=invalid-name
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/parsers/
Dclass_def_parser.py60 def _process_init_func_ast(init_ast: ast.FunctionDef, class_name_ori: str, class_name_opt: str,
100 def _modify_arguments_of_init_func(ast_init_fn: ast.FunctionDef, is_father_class: bool):
209 def _func_decorator_process(node: ast.FunctionDef):
Dfunction_def_parser.py49 def process(self, stree: SymbolTree, ast_node: ast.FunctionDef, node_manager: NodeManager):
Dassign_parser.py604 …t_callfunction_node(self, func_name: ScopedValue, node_name: str, ast_functiondef: ast.FunctionDef,
/third_party/mindspore/mindspore-src/source/third_party/proto/tensorflow/
Dfunction.proto27 message FunctionDef { message
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/node/
Dcall_function.py28 … kwargs: {str: ScopedValue}, node_name: str, ast_node: ast.AST, ast_functiondef: ast.FunctionDef,
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/rewrite/symbol_tree/
Dsymbol_tree.py215 def visit_FunctionDef(self, node: ast.FunctionDef) -> Any:
524 def set_ast_root(self, ast_node: ast.FunctionDef):
562 def set_init_func_ast(self, ast_node: ast.FunctionDef):
1804 def suffix_names_in_ast(ast_node: Union[ast.ClassDef, ast.FunctionDef]):
/third_party/python/Include/internal/
Dpycore_ast.h195 } FunctionDef; member