[TensorExpr] Cleanup TensorExprKernel class and add CPP tests for it. (#36952)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/36952
Differential Revision: D21139939
Test Plan: Imported from OSS
Pulled By: ZolotukhinM
fbshipit-source-id: a6605c0d6ccbb049ce27e6cdcc8fd8d2ebc057e3
Author
Mikhail Zolotukhin