[TensorExpr] Properly handle all dtypes of the condition in evaluation of IfThenElse exprs. (#42495)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/42495
Test Plan: Imported from OSS
Reviewed By: nickgg
Differential Revision: D22910753
Pulled By: ZolotukhinM
fbshipit-source-id: f9ffd3dc4c50fb3fb84ce6d6916c1fbfd3201c8f
Author
Mikhail Zolotukhin