[0-size Tensor No.160、162、164] Add 0-size Tensor support for conv1d_transpose #73698
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



PR Category
Execute Infrastructure
PR Types
Improvements
Description
[0-size Tensor No.160、162、164] Add 0-size Tensor support for conv1d_transpose
paddle.nn.functional.conv1d_transpose
paddle.nn.functional.conv2d_transpose
paddle.nn.functional.conv3d_transpose
修改 infermeta ,如果维度为0,不检查output_size 和 infer_shape 比较
符号推导没有对应代码
Paddle/paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/binary_infer_sym.cc
Line 447 in 3ad243c
kernel 使用到depthwise_conv 和 conv kernel, 修改 depthwise_conv 和 conv kernel
正向测试返回填充时torch为错误,这里按0填充
反向测试filter为填充0
PaddleAPITest 测试



GPU测试为torch error
CPU测试为torch error
