diff --git a/paddle/fluid/eager/auto_code_generator/final_state_generator/codegen_utils.py b/paddle/fluid/eager/auto_code_generator/final_state_generator/codegen_utils.py index 64f2602c441c61d181ec6bf01a92205a2874e633..56095963d493891175c50879ab828f67c15719bd 100644 --- a/paddle/fluid/eager/auto_code_generator/final_state_generator/codegen_utils.py +++ b/paddle/fluid/eager/auto_code_generator/final_state_generator/codegen_utils.py @@ -32,7 +32,8 @@ ops_to_fill_zero_for_empty_grads = set([ "square_double_grad", "celu_double_grad", "pad_double_grad", "pad3d_double_grad", "squeeze_double_grad", "unsqueeze_double_grad", "instance_norm_double_grad", "conv3d_double_grad", - "depthwise_conv2d_grad_grad", "concat_double_grad", "expand_grad" + "depthwise_conv2d_grad_grad", "concat_double_grad", "expand_grad", + "argsort_grad" ]) # For API dispatch used at python-level