[TensorExpr] Fuser: move canHandle and some other auxiliary functions into TensorExprFuser class. (#43170)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/43170
Differential Revision: D23178227
Test Plan: Imported from OSS
Reviewed By: eellison
Pulled By: ZolotukhinM
fbshipit-source-id: 3c3a0215344fb5942c4f3078023fef32ad062fe9
Author
Mikhail Zolotukhin