[TensorExpr] Move AOT compilation logic from aot_compiler.cpp to NNC's to_backend (#70375)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70375
Differential Revision:
D33303645
D33303645
Test Plan: Imported from OSS
Reviewed By: VitalyFedyunin, priyaramani
Pulled By: ZolotukhinM
fbshipit-source-id: 01ab9fab9bb0d63f89b06a146d3c5fb6ed7fe52d
(cherry picked from commit aac8e0ed900d1b760606b0b50eb064e6b00f8b7a)
Author
Mikhail Zolotukhin