fbcode//faiss/tests (#3707)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3707 Differential Revision: D60503059 fbshipit-source-id: af5405717e08d78ab11ee8ee431f2b8a00c2aa70pull/2062/head^2
parent
96d0781942
commit
8013fbd705
|
@ -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)"""
|
||||
|
|
Loading…
Reference in New Issue