mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for BaseConfAdapter.CheckTrain (#12695)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>pull/12503/head
parent
ffe7cf0d50
commit
03c4369314
|
@ -124,6 +124,7 @@ type ConfAdapter interface {
|
|||
type BaseConfAdapter struct {
|
||||
}
|
||||
|
||||
// CheckTrain check whether the params contains supported metrics types
|
||||
func (adapter *BaseConfAdapter) CheckTrain(params map[string]string) bool {
|
||||
// dimension is specified when create collection
|
||||
//if !CheckIntByRange(params, DIM, DefaultMinDim, DefaultMaxDim) {
|
||||
|
|
Loading…
Reference in New Issue