MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / as_ref

Method as_ref

nodedb-codec/src/vector_quant/opq.rs:281–283  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

279
280impl AsRef<UnifiedQuantizedVector> for OpqQuantized {
281 fn as_ref(&self) -> &UnifiedQuantizedVector {
282 &self.uqv
283 }
284}
285
286/// Prepared query: rotated vector + flat ADC distance table (M×K, row-major).

Calls

no outgoing calls