Replies: 1 comment 10 replies
-
That's a bit more tricky in the case of nanobind because it has no dependence on NumPy for I'm open to adding such a feature, but it's not high on my own priority list. Would you be interested in adding something like that? |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In porting some existing pybind11 code, it seems pybind11::array_t would accept a list (emphasis on seems, I did not write said code). I find myself having to provide a second version of everything taking an ndarray where I would also want to allow a list to be passed in. It's fine if this is the case, but is there a way of allowing such an implicit conversion?
Beta Was this translation helpful? Give feedback.
All reactions