fbcode//faiss/tests (#3707)

Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3707

Differential Revision: D60503059

fbshipit-source-id: af5405717e08d78ab11ee8ee431f2b8a00c2aa70
pull/2062/head^2
generatedunixname2443911735787003 2024-07-31 08:08:46 -07:00 committed by Facebook GitHub Bot
parent 96d0781942
commit 8013fbd705
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class TestHNSW(unittest.TestCase):
index3 = faiss.deserialize_index(
faiss.serialize_index(index), faiss.IO_FLAG_SKIP_STORAGE
)
self.assertEquals(index3.storage, None)
self.assertEqual(index3.storage, None)
def test_abs_inner_product(self):
"""Test HNSW with abs inner product (not a real distance, so dubious that triangular inequality works)"""