Lshkit Format

The file contains N D-dimensional vectors of single precision floating point numbers.

In the beginning of the file are three 32-bit unsigned integers: ELEM-SIZE, SIZE, DIM. ELEM-SIZE is the size of the element, and currently the only valid value is 4, which is the size of float. SIZE is the number of vectors in the file and DIM is the dimension.

The rest of the file is SIZE vectors stored consecutively, and the total size is SIZE * DIM * 4 bytes.