[NNC] Handling conditionals in reorderAxis (#56063)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/53093
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56063
Reviewed By: huiguoo
Differential Revision: D27894772
Pulled By: navahgar
fbshipit-source-id: 403b65f20567c27eab73faf670087cfab9885f84