.swap dims() can modify original object What happened?
.swap dims() can modify original object What happened?: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). This is kind of a convoluted example, but something I ran into. It appears that in certain cases .swap dims() can modify the original object, here the .dims of a data variable that was…
The task
This is kind of a convoluted example, but something I ran into. It appears that in certain cases `.swap_dims()` can modify the original object, here the `.dims` of a data variable that was swapped into being a dimension coordinate variable.
Part of Lego-X/Lego-RL-SWE-Bench-Verified.