SIGN IN SIGN UP

Fix dequantize_per_channel for single dimension input tensor (#3867)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/3867

This diff has two fixes:
- When the input dimension is 1, we need to handle that separately
- Fixing logic in how dim_list is generated

Reviewed By: larryliu0820

Differential Revision: D58221156

fbshipit-source-id: aee6b66952271e2724c27cb4efd04bc4f54434b1
T
Tarun Karuturi committed
c6fb9da97ec70712227ed16aa6adb375871dbe62
Parent: 7028a71
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 6/18/2024, 1:32:08 AM