spdl.io.ArrayInterface¶
- class ArrayInterface[source]¶
Protocol for objects that implement the NumPy Array Interface Protocol.
Objects implementing this protocol expose their data through the
__array_interface__
attribute, allowing zero-copy conversion to NumPy arrays.See: https://numpy.org/doc/stable/reference/arrays.interface.html