mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
fix: fix cal_distance default implementation (#31245)
#31243 Signed-off-by: chasingegg <chao.gao@zilliz.com>
This commit is contained in:
parent
93bb04f884
commit
6f1e9cd0f4
@ -54,8 +54,8 @@ func CosineImplPure(a []float32, b []float32) float32 {
|
||||
}
|
||||
|
||||
var (
|
||||
L2Impl func(a []float32, b []float32) float32 = IPImplPure
|
||||
IPImpl func(a []float32, b []float32) float32 = L2ImplPure
|
||||
L2Impl func(a []float32, b []float32) float32 = L2ImplPure
|
||||
IPImpl func(a []float32, b []float32) float32 = IPImplPure
|
||||
CosineImpl func(a []float32, b []float32) float32 = CosineImplPure
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user