Open mbautin opened 3 weeks ago
Some of those, indeed, make sense, @mbautin! Implementing all of them sounds like a code-bloat. How about adding only u8
and bf16
to casts_punned_t
?
I've just pushed a commit that refactors the code logic making it easier to extend an API. Feel free to open PRs š¤
Describe what you are looking for
index_dense seems to only support these data types:
The casts are instantiated only for these 5 types as well.
scalar_kind_t has much more than that:
In particular, the SIFT1B dataset from http://corpus-texmex.irisa.fr/ seems to require unsigned char, and building a float-based index for that dataset seems wasteful.
If there is a good reason to only support those 5 data types, some documentation of the rationale would be great.
Can you contribute to the implementation?
Is your feature request specific to a certain interface?
C++ implementation
Contact Details
mbautin@gmail.com
Is there an existing issue for this?
Code of Conduct