-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to work with OutputDistances object? #95
Comments
Hi, @hsm207! Have you tried wrapping via |
I had to change this behavior to output a generic buffer instead of NumPy array, because the latter supports fewer platforms than SimSIMD, so we can’t always rely on NumPy types. The provided output, however, must be safely convertible to any tensor type in NumPy, PyTorch, TensorFlow, or any other numeric library. I’m sorry for the inconvenience it may have caused, I didn’t realize many depended on the exact type. I can probably added to the README. Feel free to a documentation patch if you have a minute 🤗 |
How to wrap it with np.array? Is there a reference example? |
Have you tried simply passing the output into the np.array function? |
Commit c09d895 explicitly describes conversion rules. Hope this helps 🤗 |
In simsimd 3.7.7, this code:
returns
but in 3.9.0, it now returns:
how do I get the result like in 3.7.7?
The text was updated successfully, but these errors were encountered: