未验证 提交 89bfa964 编写于 作者: Z Zhang Zheng 提交者: GitHub

Modify op-benchamrk script (#41470)

* Modify op-benchamrk script

* fix
上级 437bebda
...@@ -135,6 +135,8 @@ function load_CHANGE_OP_MAP { ...@@ -135,6 +135,8 @@ function load_CHANGE_OP_MAP {
for change_file in ${CHANGE_OP_FILES[@]} for change_file in ${CHANGE_OP_FILES[@]}
do do
change_file_name=${change_file#*paddle/fluid/operators/} change_file_name=${change_file#*paddle/fluid/operators/}
change_file_name=${change_file_name#*paddle/phi/kernels/gpu/}
change_file_name=${change_file_name#*paddle/phi/kernels/gpudnn/}
if [ -n "${PADDLE_FILENAME_OP_MAP[$change_file_name]}" ] if [ -n "${PADDLE_FILENAME_OP_MAP[$change_file_name]}" ]
then then
for op_name in ${PADDLE_FILENAME_OP_MAP[$change_file_name]} for op_name in ${PADDLE_FILENAME_OP_MAP[$change_file_name]}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册