-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add GRW automatic steps from shape #5690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GRW automatic steps from shape #5690
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5690 +/- ##
==========================================
- Coverage 88.90% 88.02% -0.89%
==========================================
Files 75 75
Lines 13723 13750 +27
==========================================
- Hits 12201 12103 -98
- Misses 1522 1647 +125
|
Looks good, except the new |
@canyon289 can you push this PR over the finish line? |
I am no longer sure about this. There are a couple of more special cases that would fail or redundant information would be ignored
The first would fail with the new logic and has to be fixed. The others are unfortunate that we don't support as well. |
How we feeling about this one? |
CI is not feeling good about it 😭 I see the change is due to the recently added ellipsis changes, I wont be able to get to this for a while, a couple of weeks for sure, and then maybe after as well. If someone wants to take this over go for it, if not ill be back eventually |
9c84422
to
6295cca
Compare
@canyon289 I force pushed some changes. Let me know if you spot any issues |
6295cca
to
2e1455e
Compare
Ill review in next 48 hours. Thanks Ricardo |
2e1455e
to
6978efb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I commented one detail, but go ahead however you like
if shape is not None: | ||
shape = to_tuple(shape) | ||
if shape[-1] is not ...: | ||
steps_from_shape = shape[-1] - 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could break for shape=tuple()
...which is too low-dimensional to begin with.
Ah sorry for closing by accident |
Merging this now as I will reuse this logic for the AR |
Copies of intent of this commit 47571a7 from this PR #5541