[TensorExpr] Cleanup implementation of alloc/free insertion. (#35176)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/35176
Differential Revision: D20585574
Test Plan: Imported from OSS
Pulled By: ZolotukhinM
fbshipit-source-id: 1fd4330e8d7c1c2bceecc2ba927bcc455f5d858f
Author
Mikhail Zolotukhin