SIGN IN SIGN UP

example of updating dim order for specific part of graph (#4404)

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

An example of how to update the tensor's memory format of specific part in graph by inserting `_to_dim_order_copy` op before and after the specific part we want to update (here is the mul op).

Making it as a test for memory format pass.

Reviewed By: digantdesai, larryliu0820

Differential Revision: D60200604

fbshipit-source-id: 1dc88e0b84ba085a1fbcfe52b142ba6a014c2673
S
Songhao Jia committed
6fce77f2809cd45995a5e515c6ad358af85c3e80
Parent: 34c3c3d
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/1/2024, 6:40:05 PM