Expand description
Conversions into ndarray types, for callers whose numeric code already uses it.
Enabled by the ndarray cargo feature. The core types stay Vec-based so the crate
does not force a numeric dependency on anyone who does not want one.
Functionsยง
- dense_
array - The dense embedding as a 1-D array.
- multivector_
f16 - A multivector as a
[tokens, dims]array off16, when the wire carriedf16. - multivector_
f32 - A multivector as a
[tokens, dims]array off32. - sparse_
to_ dense - A sparse embedding as a dense array of
dimselements.