You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cortex-M: Fix pad op to support channels_last memory format (pytorch#18429)
### Summary
Fix pad_meta to propagate channels_last from input to output tensor.
Fix pad_out (C++) to use dim_order() to permute logical dims and padding
into physical memory order for arm_pad_s8.
Add channels_last test cases to test_pad.
### Test Plan
```
pytest backends/cortex_m/test/ops/test_pad.py
```
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments