Comments (5)
Commit c09d895 explicitly describes conversion rules. Hope this helps 🤗
from simsimd.
Hi, @hsm207! Have you tried wrapping via np.array
?
from simsimd.
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 🤗
from simsimd.
Hi, @hsm207! Have you tried wrapping via
np.array
?
How to wrap it with np.array? Is there a reference example?
from simsimd.
Have you tried simply passing the output into the np.array function?
from simsimd.
Related Issues (20)
- Sparse Distances
- main-dev tests main? HOT 3
- Will not work in a Vercel instance HOT 24
- Jaccard in parallel? simsimd.cdist HOT 5
- Disabling usage of AVX-512 instructions HOT 8
- AVX2 popcount implementation HOT 5
- Golang: '_Float16' is not supported on this target HOT 4
- simsimd not working on AWS Lambda public image HOT 20
- Complex vectors for Fourier representations, Image processing, DSP, and Quantum states HOT 1
- Packaging SIMD code in Windows bindings HOT 2
- Plan for BF16 datatype ? HOT 1
- Expose binary distances and divergence functions in Rust HOT 4
- Can't install on institutional linux cluster HOT 6
- Generalizing to complex dot-products and cosine distances for Physics and DSP
- Add covariance estimators
- simsimd_avx512_i8_cos under vnni HOT 8
- AttributeError: module 'SimSIMD' has no attribute 'cosine' HOT 6
- Need clarity HOT 1
- I want to add the simsimd to xmake's package management tool and have encountered some error. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simsimd.