已关闭
[Bug-Report|缺陷反馈]: 执行add_example图模式用例报错experiment_ops.h: No such file or directory #343
jxlang创建于  1月6日关闭于  1月16日
jxlang
1月6日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

执行 bash build.sh --run_example add_example graph cust --example_name=add_example
报错:../examples/add_example/examples/test_geir_add_example.cpp:20:10: fatal error: experiment_ops.h: No such file or directory
20 | #include ""experiment_ops.h""
"

Environment / 环境信息 (Mandatory / 必填)

910B3
850CANN包

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

如上所述

Describe the expected behavior / 预期结果 (Mandatory / 必填)

正常执行结束

image.png

Special notes for this issue/备注 (Optional / 选填)

likedislike
jiangjiawei成员
1月6日 评论:

感谢您的反馈,正在处理中

likedislike
liuyufan
liuyufan成员
1月15日 评论:

感谢您提交的issue!该头文件为冗余头文件,可在ops-nn/examples/add_example/examples/test_geir_add_example.cpp中删除,近期会修复该问题。删除该头文件后可正常执行如下命令:
bash build.sh --pkg --ops=add_example
./build_out/cann-ops-nn-custom-linux.x86_64.run
bash build.sh --run_example add_example graph cust
image.png

likedislike
liuyufanliuyufan成员
1月15日 关联了pull request:fix geir_add_example & fix gen_op doc
CANN-robotCANN-robot成员
1月16日 关闭了 issue
CANN-robotCANN-robot成员
3月20日 添加了label:resolved