Skip to main content

multivector_f16

Function multivector_f16 

Source
pub fn multivector_f16(multivector: &Multivector) -> Option<Result<Array2<f16>>>
Expand description

A multivector as a [tokens, dims] array of f16, when the wire carried f16.

Returns None for an f32 multivector rather than narrowing it, which would lose precision the server chose to send.