SIGN IN SIGN UP

fix permute copy name (#80)

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

We have a node_visitor for permute already, it was mistakenly named static_transpose after its xnnpack counterpart. permute_copy should not be skipped. It should only be skipped when applied to linear weights.

Instead our linear conversion pass will convert away any permute_copies which are not actually to be executed.

Reviewed By: kirklandsign

Differential Revision: D48488930

fbshipit-source-id: 19abfd849b5cc1d38b956947af7137463185aaf1
M
Max Ren committed
def08cf716b3781aa6c192056c40f1c8f55c5808
Parent: b2b9766
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/23/2023, 11:21:57 PM