[0-size Tensor No.357、359、360、98、246、247、329] Add 0-size Tensor support for box_coder/yolo_box/prior_box/renorm/kron/repeat_interleave #73017
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
yolo_box
修改前向
infermeta 不用修改
kernel 修改 cpu/gpu/xpu
PaddleAPITest 测试已修复cuda error
paddle error 是已有的逻辑判断, torch中没有相应接口

prior_box
修改前向
infermeta 不用修改
kernel 修改 cpu/gpu/xpu
PaddleAPITest 测试通过

box_coder
修改前向
infermeta 不用修改
kernel 修改 cpu/gpu
PaddleAPITest 测试已修复cuda error, paddle error 为已有的判断维度逻辑

renorm
修改前向和反向
infermeta没有修改
kernel修改cpu/gpu,共用impl
PaddleAPITest测试通过

kron
修改前向和反向
infermeta没有修改
kernel 修改cpu/gpu,共用impl
PaddleAPITest 测试通过

repeat_interleave
修改前向和反向
infermeta没有修改
kernel 修改cpu/gpu/xpu
PaddleAPITest 测试通过
