"vscode:/vscode.git/clone" did not exist on "483ea646111b5ef576c2c6c833c321520de72fb2"
added array::ensure() function wrapping PyArray_FromAny
This convenience function ensures that a py::object is either a py::array, or the implementation will try to convert it into one. Layout requirements (such as c_style or f_style) can be also be provided.
Showing
Please register or sign in to comment