Daily `arc lint --take CLANGFORMAT`
Reviewed By: zertosh Differential Revision: D32910817 fbshipit-source-id: 60d0cb10412e1a37a0249bb223b75855c5596dbdpull/2146/head
parent
a0b50e669f
commit
b60722c4cd
|
@ -106,7 +106,6 @@ void Index2Layer::train(idx_t n, const float* x) {
|
|||
is_trained = true;
|
||||
}
|
||||
|
||||
|
||||
void Index2Layer::search(
|
||||
idx_t /*n*/,
|
||||
const float* /*x*/,
|
||||
|
@ -116,7 +115,6 @@ void Index2Layer::search(
|
|||
FAISS_THROW_MSG("not implemented");
|
||||
}
|
||||
|
||||
|
||||
void Index2Layer::transfer_to_IVFPQ(IndexIVFPQ& other) const {
|
||||
FAISS_THROW_IF_NOT(other.nlist == q1.nlist);
|
||||
FAISS_THROW_IF_NOT(other.code_size == code_size_2);
|
||||
|
|
|
@ -51,7 +51,6 @@ struct IndexLSH : IndexFlatCodes {
|
|||
float* distances,
|
||||
idx_t* labels) const override;
|
||||
|
||||
|
||||
/// transfer the thresholds to a pre-processing stage (and unset
|
||||
/// train_thresholds)
|
||||
void transfer_thresholds(LinearTransform* vt);
|
||||
|
|
|
@ -557,7 +557,6 @@ std::unique_ptr<Index> index_factory_sub(
|
|||
description = sm[sm.size() - 1];
|
||||
vts.emplace_back(vt);
|
||||
d = vts.back()->d_out;
|
||||
|
||||
}
|
||||
|
||||
if (vts.size() > 0) {
|
||||
|
|
Loading…
Reference in New Issue