Returning NumPy Array of Wrapped C++ Objects #880
-
I'm interested in being able to return a numpy array of C++ objects that should be wrapped and accessible through Python. I've successfully wrapped the class, and I can create and return numpy arrays of primitive types, but can't seem to find any examples or documentation on how to return an array of custom object types. I assume std::unique_ptr will be needed for ownership... Can anyone point me to an example, or is this unsupported functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is not supported and will never be. Please see the limitations section of the NDArray documentation. |
Beta Was this translation helpful? Give feedback.
This is not supported and will never be. Please see the limitations section of the NDArray documentation.