Cherry-picks for TE fixes for aten::cat. (#46513)
* [TensorExpr] Correctly handle negative dimensions in aten::cat when lowering to tensor expressions.
Fixes #46440.
* [TensorExpr] Fix shape inference logic for aten::cat.
Cherry pick #46482.
* [TensorExpr] Properly handle input types promotion and special case of empty inputs for aten::cat.
Cherry pick #46500.
Author
Mikhail Zolotukhin