Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
tiling中处理padindex为负值的情况导致默认值-1也会参与计算,修改tiling中padindex负数类型支持情况,保持padIndex原始语义
Ascend950PR
接口传入padindx为None时必现
预期padIdx仅支持正数类型,在传入值为None时,aten中的默认值-1不参与计算
torch接口调用默认值时必现
/assign
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
tiling中处理padindex为负值的情况导致默认值-1也会参与计算,修改tiling中padindex负数类型支持情况,保持padIndex原始语义
Environment / 环境信息 (Mandatory / 必填)
Ascend950PR
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
接口传入padindx为None时必现
Describe the expected behavior / 预期结果 (Mandatory / 必填)
预期padIdx仅支持正数类型,在传入值为None时,aten中的默认值-1不参与计算
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
torch接口调用默认值时必现
Special notes for this issue/备注 (Optional / 选填)