Closed
[Bug-Report|缺陷反馈]: golden.py 共享 pad helper 的外部加载机制存在稳定性问题,建议算子 golden 自包含 #3760
XByingAdd on  20 days agoClosed at  20 days ago
XBying
XByingCollaborators
20 days ago Create

一、问题描述 (必填)

  1. 目录深度硬编码:tests/golden_helpers/padding.py 作为共享 pad helper,pad_v3 / mirror_pad 的 golden.py 通过 runpy.run_path + parents[4] 固定深度从模块级加载它。parents[4] 只对 <op_type>/<op>/tests/assets/golden.py 标准深度成立,算子处于更深层嵌套布局(如 experimental/ 下)时 FileNotFoundError。

二、环境信息 (可选)

三、重现步骤 (可选)

四、预期结果 (可选)

💡 备注(选填)

likedislike
XByingXByingCollaborators
20 days ago Associated pull request
XByingXByingCollaborators
20 days ago Modify description of issue
XByingXByingCollaborators
20 days ago Change title to "[Bug-Report|缺陷反馈]: golden.py 共享 pad helper 的外部加载机制存在稳定性问题,建议算子 golden 自包含", originally titled "golden.py 共享 pad helper 的外部加载机制存在稳定性问题,建议算子 golden 自包含".
XBying
XByingCollaborators
20 days ago Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
20 days ago Assign 2301_81474000 as responsible person
CANN-robotCANN-robotCollaborators
20 days ago Close issue
CANN-robotCANN-robotCollaborators
20 days ago Added label: resolved