File: python-test

package info (click to toggle)
faiss 1.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,228 kB
  • sloc: cpp: 91,727; python: 31,865; sh: 874; ansic: 425; makefile: 41
file content (7 lines) | stat: -rwxr-xr-x 172 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
set -e
for py in `py3versions -s`
do
	$py -c 'import faiss, numpy; faiss.Kmeans(10, 20, verbose=True).train(numpy.random.rand(1000, 10).astype("float32"))'
done