faiss_VectorTransform_apply

Function faiss_VectorTransform_apply 

Source
pub unsafe extern "C" fn faiss_VectorTransform_apply(
    vt: *const FaissVectorTransform,
    n: idx_t,
    x: *const f32,
) -> *mut f32
Expand description

apply the random rotation, return new allocated matrix @param x size n * d_in @return size n * d_out