Closed
[Bug-Report|缺陷反馈]: Div算子输入int64有精度问题 #3416
junnyleoAdd on Sep 22Closed at Sep 23
junnyleo
Sep 22 Comments:
Sep 22 Comments:
/assign


Sep 22 Assign junnyleo as responsible person
Sep 23 changed custom state from 进行中 to 已完成
Sep 23 Close issue
Sep 23 Added label: resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
pypto.div在int64输入时有精度问题
Environment / 环境信息 (Mandatory / 必填)
ascend950,最新cann包,python3.11
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
运行测试daily用例
Describe the expected behavior / 预期结果 (Mandatory / 必填)
int64输入时应该返回浮点数,但返回的是int64
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
2026-09-21 12:01:10 | INFO | case_2 | xrunfk.py:125 | run_process_worker | Run case begin, device_id is 4, case_idx is 2, case_name is Div_L0_int64_supplement_0_256_dense, op_type is Div, pid: 1132164 ppid: 1132083
2026-09-21 12:01:22 | INFO | case_2 | xrunfk.py:144 | run_process_worker | Run case_idx is 2, case Div_L0_int64_supplement_0_256_dense FAILED, result OpCaseValue(result=<Result.FAILED: 'FAILED'>, precsion_resultlist=[(<Result.FAILED: 'FAILED'>, 0.0), (<Result.FAILED: 'FAILED'>, None, None, None, None)], plog_result=None, graph_result=None, corenum_result=None, pipemix_result=None, consistency_result=None, tiling=None, time=None, errorcode=None, errormsg=None); device_id: 4, pid: 1132164 ppid: 1132083
2026-09-21 12:01:22 | INFO | case_2 | xrunfk.py:147 | run_process_worker | Run case end, case_idx: 2, Div_L0_int64_supplement_0_256_dense: FAILED
Special notes for this issue/备注 (Optional / 选填)