You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To enable pickling, we basically need to convert proj_vecs in Cython <-> a numpy array or numpy memoryview?I think it would just be a double for loop or something? This is required to enable pickling, since we need to tell the class how to convert things into a readable Python object, and then also how to go from a readable Python object to low-level Cython code.
We have to decide whether it is easier to convert vector[float] -> numpy array of floats or
float * -> numpy array of floats.
To enable pickling, we basically need to convert
proj_vecs
in Cython <-> a numpy array or numpy memoryview?I think it would just be a double for loop or something? This is required to enable pickling, since we need to tell the class how to convert things into a readable Python object, and then also how to go from a readable Python object to low-level Cython code.We have to decide whether it is easier to convert vector[float] -> numpy array of floats or
float * -> numpy array of floats.
The text was updated successfully, but these errors were encountered: