code: def test_IndexIVF(self):
      quantizer = faiss.IndexFlatL2(d)
      index = faiss.IndexIVFFlat(quantizer, d, 10)
      index.train(xt)
      index.add(xb)
      del quantizer
      gc.collect()
      index.add(xb)
  
file_path: faiss/tests/test_referenced_objects.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import numpy
  import unittest
  import faiss
  import sys
  import gc
label_desc: Use image node_id 1 for calling the TestReferenced obj's underlying member method code with example usage: obj.test_IndexIVF() without return types