未验证 提交 81ef8b7f 编写于 作者: Z Zeng Jinle 提交者: GitHub

Fix CI DefaultGradOpMaker check (#21482)

* fix default grad op maker ci bug, test=develop, test=document_fix

* remove some ops from paddle/fluid/op_use_default_grad_op_maker.spec, test=develop, test=document_fix
上级 87ab93af
cos_sim
flatten
fsp
gru
lrn
lstm_unit
match_matrix_tensor
max_pool2d_with_index
max_pool3d_with_index
maxout
nce
pool2d
pool3d
prelu
reduce_max
reduce_min
reduce_prod
......@@ -19,9 +15,6 @@ reshape
rnn_memory_helper
sequence_softmax
spp
squeeze
tensor_array_to_tensor
transpose
unpool
unsqueeze
var_conv_2d
......@@ -496,15 +496,10 @@ function generate_api_spec() {
fi
# TODO(paddle-dev): remove op_use_default_grad_op_maker.spec
# Currently, we only check in PR_CI python 2.7
if [ "spec_kind" == "PR" ]; then
if [ "$SYSTEM" != "Darwin" ]; then
if [ "$1" == "" ] || [ "$1" == "cp27-cp27m" ] || [ "$1" == "cp27-cp27mu" ]; then
if [ "$spec_kind" == "PR" ]; then
python ${PADDLE_ROOT}/tools/diff_use_default_grad_op_maker.py \
${PADDLE_ROOT}/paddle/fluid/op_use_default_grad_op_maker.spec
fi
fi
fi
deactivate
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册