diff --git a/python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py b/python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py index 572beefaa04d7ad0795245191e81727d7a59bac5..29eeb590f6596688bc329955fb68aaabfe3e200c 100644 --- a/python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py +++ b/python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py @@ -13,7 +13,8 @@ # limitations under the License. # check no_grad_set is None -NOT_CHECK_OP_LIST = [] +NOT_CHECK_OP_LIST = ['deformable_conv'] + # TODO(Shixiaowei02): Check if the items do not need fix. # no_grad_set has value in NEED_TO_FIX_OP_LIST # yapf: disable @@ -31,7 +32,6 @@ NEED_TO_FIX_OP_LIST = [ 'cross_entropy', 'cross_entropy2', 'data_norm', - 'deformable_conv', 'deformable_conv_v1', 'depthwise_conv2d', 'depthwise_conv2d_transpose', diff --git a/tools/check_api_approvals.sh b/tools/check_api_approvals.sh index 8743a3de439e281d7d9ef68b6cacebb097a52065..068966c683b22077fc42789e7c9510adf7da44aa 100644 --- a/tools/check_api_approvals.sh +++ b/tools/check_api_approvals.sh @@ -132,7 +132,7 @@ for API_FILE in ${API_FILES[*]}; do echo_line="You must have one RD (songyouwei, luotao1 or phlrain) approval for ${API_FILE}, which manages the white list of batch size 1 input for sequence op test. For more information, please refer to [https://github.com/PaddlePaddle/Paddle/wiki/It-is-required-to-include-LoDTensor-input-with-batch_size=1-in-sequence-OP-test]. \n" check_approval 1 2573291 6836917 43953930 elif [ "${API_FILE}" == "python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py" ];then - echo_line="You must have one RD (Shixiaowei02 (Recommend), luotao1 or phlrain) approval for the python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py, which manages the white list of no_grad_set without value in operators.\n" + echo_line="You must have one RD (Shixiaowei02 (Recommend), luotao1 or phlrain) approval for the python/paddle/fluid/tests/unittests/white_list/no_grad_set_white_list.py, which manages the white list of no_grad_set without value in operators. For more information, please refer to[https://github.com/PaddlePaddle/Paddle/wiki/It's-recommend-to-set-no_grad_set-to-be-None].\n" check_approval 1 39303645 6836917 43953930 else echo_line="You must have one RD (XiaoguangHu01,Xreki,luotao1,sneaxiy) approval for ${API_FILE}, which manages the underlying code for fluid.\n"