4 ms·
can the authors please share the numpy code too
by big-chungus4 2y ago
can the authors please share the numpy code too
- ashvardanian 2y agoThere are several ways to implement it in NumPy, often resulting in 20% variance. I've added a reference implementation to my mirror of the blogpost and the Modular team will soon update the original posting as well: https://ashvardanian.com/posts/understanding-simd-complexity/#introduction-to-cosine-similarity https://ashvardanian.com/posts/understanding-simd-complexity...