code: def __init__(self, capacity):
      self.log2_capacity = int(np.log2(capacity))
      assert (
          capacity == 2**self.log2_capacity
      ), "need power of 2 capacity"
      self.capacity = capacity
      self.tab = np.empty((capacity, 2), dtype="int64")
      faiss.hashtable_int64_to_int64_init(
          self.log2_capacity, swig_ptr(self.tab)
      )
  
imports: import numpy
  from faiss.loader import *
  import faiss
  import collections.abc
label_desc: Use image node_id 1 to create a new MapInt64ToInt64 object  with example: obj = MapInt64ToInt64(capacity)