This is required for PyTorch which runs into an issue with narrowing types. Requires an explicit cast. [ROCm/clr commit: 032ebd41ea]
032ebd41ea