未验证 提交 03c43693 编写于 作者: S shaoyue 提交者: GitHub

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

Signed-off-by: Nshaoyue.chen <shaoyue.chen@zilliz.com>
上级 ffe7cf0d
...@@ -124,6 +124,7 @@ type ConfAdapter interface { ...@@ -124,6 +124,7 @@ type ConfAdapter interface {
type BaseConfAdapter struct { type BaseConfAdapter struct {
} }
// CheckTrain check whether the params contains supported metrics types
func (adapter *BaseConfAdapter) CheckTrain(params map[string]string) bool { func (adapter *BaseConfAdapter) CheckTrain(params map[string]string) bool {
// dimension is specified when create collection // dimension is specified when create collection
//if !CheckIntByRange(params, DIM, DefaultMinDim, DefaultMaxDim) { //if !CheckIntByRange(params, DIM, DefaultMinDim, DefaultMaxDim) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册