-
Notifications
You must be signed in to change notification settings - Fork 317
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
Shapes expect i64 instead of usize #51
Comments
Right, having |
Thanks for the quick reply! I like the idea of |
I don't have much concrete ideas but maybe a couple of these would be good:
I would have hoped for the first two points to be doable when generating the binding code but I haven't found enough information in the Also if you get some interesting wrappers that you think should be part of |
Thinking more about this, it would certainly be nice to use more of |
Maybe this comes from generating the bindings automatically, but is there a use case for expecting
&[i64]
inTensor::reshape
and similar methods? Maybe it would make sense to change this to&[usize]
? This change would also bringTensor
more in line withndarray
, which usesusize
to represent shapes.The text was updated successfully, but these errors were encountered: