Currently, the tensor library's .cast() method only supports dtype conversions within the same kind (e.g…
Currently, the tensor library's .cast() method only supports dtype conversions within the same kind (e.g…: a task in LegoFlow-SWE (Harbor dataset). Extend .cast() so that it accepts any dtype enum, allowing single-step cross‑kind conversions. The following calls should convert the tensor to the…
The task
Extend `.cast()` so that it accepts any dtype enum, allowing single-step cross‑kind conversions. The following calls should convert the tensor to the target kind and dtype:
Part of Lego-X/LegoFlow-SWE.