Closed
[Bug-Report|缺陷反馈]:调用pypto.conv时不传extend_params参数报错 #3425
luyakun_hwAdd on  Sep 22Closed at  Sep 24
luyakun_hw
Sep 22 Create

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

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

调用pypto.conv时不传extend_params参数会报错

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

A2、A3、Ascend950

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

按照conv算子资料中样例,不带extend_params参数会报错

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

不带extend_params参数也能正常执行

pypto.error.FeError: ErrCode: F0FFFF, DispatchError: Conv(): incompatible function arguments. The following argument types are supported:

  1. (out_type: pypto.pypto_impl.DataType, tensor_input: pypto.pypto_impl.Tensor, tensor_weight: pypto.pypto_impl.Tensor, strides: collections.abc.Sequence[typing.SupportsInt | typing.SupportsIndex], paddings: collections.abc.Sequence[pypto.pypto_impl.SymbolicScalar], dilations: collections.abc.Sequence[typing.SupportsInt | typing.SupportsIndex], extend_params: pypto.pypto_impl.ConvExtendParam, groups: typing.SupportsInt | typing.SupportsIndex = 1) -> pypto.pypto_impl.Tensor

Invoked with: DataType.DT_FP16, <pypto.pypto_impl.Tensor object at 0x7dc0b1db82f0>, <pypto.pypto_impl.Tensor object at 0x7dc0b1dbb330>, [1, 1], [0, 0, 0, 0], [1, 1], None, 1

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

likedislike
luyakun_hw
Sep 22 Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
Sep 22 Assign luyakun_hw as responsible person
Lluyakun_hw
Sep 22 Associated pull request
Lluyakun_hw
Sep 22 Associated pull request
袁野袁野Collaborators
Sep 23 Added label: Operations
CANN-robotCANN-robotCollaborators
Sep 24 Close issue
CANN-robotCANN-robotCollaborators
Sep 24 Added label: resolved