[skip ci] Add comment for BaseConfAdapter.CheckTrain (#12695)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/12503/head
shaoyue 2021-12-03 17:13:39 +08:00 committed by GitHub
parent ffe7cf0d50
commit 03c4369314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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) {