未验证 提交 c8d17ab3 编写于 作者: S songyouwei 提交者: GitHub

fix check_sequence_op script (#22986)

上级 3dfaf44a
......@@ -6,7 +6,7 @@ function check_sequnece_op_unitests(){
check_white_list_file=$1
function_grep=$2
INVALID_SEQUENCE_OP_UNITTEST=""
all_sequence_ops=`grep '(sequence_' ${PADDLE_ROOT}/build/paddle/fluid/pybind/pybind.h | grep -Ev '^$' | cut -d'(' -f 2 | cut -d')' -f 1`
all_sequence_ops=`grep 'OP(sequence_' ${PADDLE_ROOT}/build/paddle/fluid/pybind/pybind.h | grep -Ev '^$' | cut -d'(' -f 2 | cut -d')' -f 1`
for op_name in ${all_sequence_ops}; do
in_white_list=`python ${PADDLE_ROOT}/${check_white_list_file} ${op_name}`
if [ "${in_white_list}" == "True" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册