spdl.io.to_numpy¶ to_numpy(buffer: CPUBuffer)[source]¶ Convert to NumPy NDArray. Parameters: buffer – Object implements the array interface protocol. Returns: A NumPy array. Return type: (NDArray) See also https://numpy.org/doc/stable/reference/arrays.interface.html