Мне интересно, как мы можем сохранить индекс, созданный с помощью инструмента ScaNN.
start = time.time()
searcher = scann.scann_ops_pybind.builder(normalized_dataset, 10, "dot_product").tree(
num_leaves=2000, num_leaves_to_search=100, training_sample_size=250000).score_ah(
2, anisotropic_quantization_threshold=0.2).reorder(100).build()
end = time.time()
print("Задержка индекса (мс): {:8.4f}".format( 1000*(конец-начало))