From 6ce6368cd9ba55961ae8af760485b01ce48fa20b Mon Sep 17 00:00:00 2001 From: phlrain Date: Mon, 21 Mar 2022 06:28:32 +0000 Subject: [PATCH] remove duplicate code --- .../auto_code_generator/final_state_generator/python_c_gen.py | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/eager/auto_code_generator/final_state_generator/python_c_gen.py b/paddle/fluid/eager/auto_code_generator/final_state_generator/python_c_gen.py index d5645ecfd83..203e0098a64 100644 --- a/paddle/fluid/eager/auto_code_generator/final_state_generator/python_c_gen.py +++ b/paddle/fluid/eager/auto_code_generator/final_state_generator/python_c_gen.py @@ -31,7 +31,6 @@ atype_to_parsing_function = { "bool": "CastPyArg2Boolean", "int": "CastPyArg2Int", "long": "CastPyArg2Long", - "std::string": "CastPyArg2String", "int64_t": "CastPyArg2Long", "float": "CastPyArg2Float", "std::string": "CastPyArg2String", -- GitLab