Files
Guan-Ming Chiu 6383c7fd7f [Relax][ONNX] Support 3D AffineGrid (#19863)
## Related Issue

closes #19689

## Why

The Relax AffineGrid op only handled 2D (4D theta/grid); 5D 3D inputs
from ONNX failed.

## How

- Generalize struct-info inference to 2D/3D via spatial =
size_sinfo->ndim.
- Branch TOPI affine_grid compute on 2D vs 3D.
- Add the 3D permute path in the frontend and a test_affine_grid_3d
case.

---------

Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
2026-06-30 15:35:22 -04:00
..