Replies: 1 comment
-
|
A function can have To return a Note: I did not test the above, so maybe I made some dumb mistake. :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Probably a bit of a edge case, but I have a class that I would like to initialize with a
numpy.dtypeas an argument. This seems to not be possible.I was also thinking about having the
nanobind::dlpack::dtypebeing returned from a function, exposed as anumpy.dtypein python and I think that would not work either.Not a huge issue for now, but maybe somebody else will think about doing this and might see this before going down the rabbit hole.
Beta Was this translation helpful? Give feedback.
All reactions