#ifndef SCANN_UTILS_INPUT_DATA_UTILS_H_
#define SCANN_UTILS_INPUT_DATA_UTILS_H_
#include <cstdint>
#include "scann/data_format/dataset.h"
#include "scann/proto/hash.pb.h"
#include "scann/proto/scann.pb.h"
#include "scann/utils/fixed_point/pre_quantized_fixed_point.h"
namespace research_scann {
StatusOr<DatapointIndex> ComputeConsistentNumPointsFromIndex(
const Dataset* dataset, const DenseDataset<uint8_t>* hashed_dataset,
const PreQuantizedFixedPoint* pre_quantized_fixed_point,
const DenseDataset<int16_t>* bfloat16_dataset,
const vector<int64_t>* crowding_attributes,
const vector<std::string>* crowding_dimension_names);
StatusOr<DimensionIndex> ComputeConsistentDimensionalityFromIndex(
const ScannConfig& config, const Dataset* dataset,
const DenseDataset<uint8_t>* hashed_dataset,
const PreQuantizedFixedPoint* pre_quantized_fixed_point,
const DenseDataset<int16_t>* bfloat16_dataset);
}
#endif