Consider removing support of "dims on the fly" #6065
Replies: 4 comments 1 reply
-
I didn't realize this would work :-) Do you have an idea if that is used a lot by users at the moment however? Since when is this possible (it wasn't possible from the start)? |
Beta Was this translation helpful? Give feedback.
-
I didn't know it was a thing |
Beta Was this translation helpful? Give feedback.
-
Seems pretty clear we're fine to remove it then. |
Beta Was this translation helpful? Give feedback.
-
This was done in #6112 and released in v4.2.0. |
Beta Was this translation helpful? Give feedback.
-
Right now we can specify dims on the fly, which are taken from the shape of a variable:
This is neat, but causes some code complexity, because we also allow dims to inform the shape of a variable.
Which forces us to create new variables in a two-step process, first without dim information and then with it (via resizing). Code could be simplified if we don't have to worry about dims being specified on the fly.
These two behaviors of dims are also potentially confusing when mixed together:
Beta Was this translation helpful? Give feedback.
All reactions