未验证 提交 14f00dc5 编写于 作者: C chen2016013 提交者: GitHub

fix pd_ops.yaml generation bug (#57041)

上级 530b6b66
...@@ -58,8 +58,12 @@ add_custom_command( ...@@ -58,8 +58,12 @@ add_custom_command(
COMMAND ${CMAKE_COMMAND} -E make_directory ${parsed_op_dir} COMMAND ${CMAKE_COMMAND} -E make_directory ${parsed_op_dir}
COMMAND ${PYTHON_EXECUTABLE} ${op_gen_parsed_yaml_file} --op_yaml_path COMMAND ${PYTHON_EXECUTABLE} ${op_gen_parsed_yaml_file} --op_yaml_path
${pd_op_forward_yaml_file} --output_path ${op_yaml_file3} ${pd_op_forward_yaml_file} --output_path ${op_yaml_file3}
COMMENT "Generate pd_ops.parsed.yaml"
COMMAND ${PYTHON_EXECUTABLE} ${op_gen_parsed_yaml_file} --op_yaml_path COMMAND ${PYTHON_EXECUTABLE} ${op_gen_parsed_yaml_file} --op_yaml_path
${pd_op_backward_yaml_file} --output_path ${op_yaml_file4} --backward ${pd_op_backward_yaml_file} --output_path ${op_yaml_file4} --backward
COMMENT "Generate pd_ops_backward.parsed.yaml"
DEPENDS ${op_gen_parsed_yaml_file} ${pd_op_forward_yaml_file}
${pd_op_backward_yaml_file}
VERBATIM) VERBATIM)
add_custom_command( add_custom_command(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册