Commit 204b8e0
committed
[ExecuTorch][to_backend] Introduce preprocess_all method to backend details
We introduce the new static method preprocess_all. This is not an enforced method because preprocess() is enforced and can be used instead.
Ideally, I want the default implementation of preprocess_all, to just loop through the exported programs for each method and use preprocess() to lower them. However since each are static methods, I wasn't able to find a good way to do this. Suggestions would be greatly appreciated for that.
Differential Revision: [D69954544](https://our.internmc.facebook.com/intern/diff/D69954544/)
[ghstack-poisoned]1 parent d023a77 commit 204b8e0
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
0 commit comments