1. expression is like (out.size(0)), which is the initialization of a tuple, parameter is a function call.
When parsing parameters of the function call, the first'(' and last ')' characters of the tuple must be skip.
2. code duplication: two cases are combined.
Use the AST replaces the importlib/inspect modules to analyze and modify network definition script.
The importlib/inspect must load python script to analyze, but AST analysis is static code analysis and is very secure.