| 94 | } // namespace |
| 95 | |
| 96 | TEST(FlatQuantizerDistance, Fp32Matrices) { |
| 97 | for (const auto *name : {"SquaredEuclidean", "InnerProduct", "Cosine"}) { |
| 98 | CheckMatrices<float>(IndexMeta::DT_FP32, name); |
| 99 | } |
| 100 | } |
| 101 | TEST(FlatQuantizerDistance, Fp16Matrices) { |
| 102 | for (const auto *name : {"SquaredEuclidean", "InnerProduct", "Cosine"}) { |
| 103 | CheckMatrices<ailego::Float16>(IndexMeta::DT_FP16, name); |
nothing calls this directly
no test coverage detected