Skip to main content

decode_dense_native_bytes

Function decode_dense_native_bytes 

Source
pub fn decode_dense_native_bytes(
    definition: DenseVectorDefinition,
    bytes: &[u8],
) -> Result<Vec<f32>, DenseVectorValueError>
Expand description

Decodes one exact native element sequence and applies the mapping’s metric normalization. Durable bundle readers use this instead of widening and then re-encoding a caller value.