SIGN IN SIGN UP

move memory format pass into to_edge (#1891)

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

This diff enable memory foramt pass by moving it into to_edge.
Also introduced `_skip_dim_order` in edge compile config for gradually enable the pass. Currently we set its default as True, only enable it in `test_memory_format_ops_pass` for evaluation.
Will graduatlly enable it in our system, and finally remove it from EdgeCompileConfig

Reviewed By: larryliu0820

Differential Revision: D53567636

fbshipit-source-id: 969dea799d785d825e796386afcdfa7144a47ba9
S
Songhao Jia committed
5e492b28c285039dc481a5d7928b6ec9829f6246
Parent: bf7b701
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 2/10/2024, 12:02:49 AM