|
|
|
@ -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
|
|
|
|
|