vecs_file 0.1.0

vecs file reader (fvecs, ivecs, bvecs)
Documentation
  • Coverage
  • 60%
    12 out of 20 items documented0 out of 14 items with examples
  • Size
  • Source code size: 12.47 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.87 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • fclaude/vecs_file
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fclaude

Vecs_file

Crate for reading the format used for DEEP1B.

Usage

Read a file with read_vecs_file. You can read i32, f32 and u8 vecs files.

vecs_file::read_vecs_file::<i32>(path_to_file);

read_vecs_file returns a Result that is either a structure called Vectors<T> of a VecsError. The Vectors<T> structure implements functions to access individual vectors.

The crate also provides utility functions to write a vecs file, and a reader/writer from a stream. This allows reading/writing by blocks if needed.