Repository navigation
Commit d04ab5d
authored
NXP backend: Replace deprecated torch.ao import. (pytorch#17554)
### Summary
Recent update removed the `move_exported_model_to_eval` and
`move_exported_model_to_train` from `torch.ao.quantization`. The
functions are now accessed from `torchao.quantization.pt2e`.
### Test plan
Tested by `run_aot_example.sh`, which is run by the standard
`backends/nxp/run_unittests.sh`.
cc @robert-kalmar @JakeStevens @digantdesai1 parent aa967b0 commit d04ab5d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments