Skip to content

Commit 3525ab6

Browse files
authored
MB-71788: use training params for fast merge (#94)
1 parent 5704d2d commit 3525ab6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

vector.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ func OptimizationRequiresBinaryIndex(optimization string) bool {
9595
const TrainedIndexFileName = "trained_index"
9696
const TrainingKey = "_training"
9797

98+
type TrainingParams struct {
99+
NumCentroids int
100+
}
101+
98102
const TrainedIndexCallback = "_trained_index_callback"
99103

100104
type TrainedIndexCallbackFn func(string) (interface{}, error)

0 commit comments

Comments
 (0)