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
Support Any for shape #5
Comments
Yep, that sounds good to me. I'd be very happy to accept a PR on this. |
In passing: The syntax currently used is The different arguments in the
|
I understand your choice! |
Closed by #6. |
Hi, I would like to thank you for this cool library.
I was desperate not to find a shape typing for pytorch and I had planned to code it myself if it didn't exist.
I think your api is great, however I find that specifying the dimension of any shape to
-1
is not very intuitive (I saw that you have many other ways to declare it). One idea is to declare a dimension with any shape using typing.Any.As the library
nbtyping
does :In this case we have typed our array with no constraints on the last dimension.
If we apply this modification to your library:
What do you think of this? If you're interested I can try to make a pull request!
I thank you again for developing this wonderful library.
The text was updated successfully, but these errors were encountered: