feat(compare): add face comparison functionality with cosine similarity
This commit is contained in:
@@ -68,6 +68,7 @@ use safetensors::tensor::SafeTensors;
|
||||
/// let view = SafeArrayView::from_bytes(&bytes).unwrap();
|
||||
/// let tensor: ndarray::ArrayView2<f32> = view.tensor("data").unwrap();
|
||||
/// ```
|
||||
#[derive(Debug)]
|
||||
pub struct SafeArraysView<'a> {
|
||||
pub tensors: SafeTensors<'a>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user