| 91 | using EntryType = typename InvertedIndexType::EntryType; |
| 92 | |
| 93 | FaissVisualIndex() |
| 94 | : prepared_(false), feature_type_(FeatureExtractorType::UNDEFINED) {} |
| 95 | |
| 96 | size_t NumVisualWords() const override { |
| 97 | return (index_ == nullptr) ? 0 : index_->ntotal; |
nothing calls this directly
no outgoing calls
no test coverage detected