qingqing01 changed the title The argparse.ArgumentParser can not be parsed correcttly when importting paddle.v2.fluid in Python. The argparse.ArgumentParser can not be parsed correctly when importing ...
In the attached patch I modified 'add_parser' to take a 'parser' keyword parameter. If given, it is used as the parser, rather than create a new one. Thus an existing parser, or one created with a ...