[nnc] Modified the semantics of reorder in using permutation (#61085)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/61085
Test Plan: Imported from OSS
Reviewed By: ZolotukhinM
Differential Revision: D29506679
Pulled By: navahgar
fbshipit-source-id: f674aedff8175b9947404fd2164a0b4f57a71e93