mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
[skip ci] Add comment for IVFSQConfAdapter (#13081)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
This commit is contained in:
parent
c50ee1a2fc
commit
23e3a88a41
@ -238,6 +238,7 @@ type IVFSQConfAdapter struct {
|
|||||||
IVFConfAdapter
|
IVFConfAdapter
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CheckTrain returns true if the index can be built with the specific index parameters.
|
||||||
func (adapter *IVFSQConfAdapter) CheckTrain(params map[string]string) bool {
|
func (adapter *IVFSQConfAdapter) CheckTrain(params map[string]string) bool {
|
||||||
params[NBITS] = strconv.Itoa(DefaultNBits)
|
params[NBITS] = strconv.Itoa(DefaultNBits)
|
||||||
return adapter.IVFConfAdapter.CheckTrain(params)
|
return adapter.IVFConfAdapter.CheckTrain(params)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user