code: def models_equal(self, model_1, model_2):
      self.assertEqual(len(model_1.kv), len(model_2.kv))
      self.assertEqual(
          set(model_1.kv.index_to_key), set(model_2.kv.index_to_key)
      )
      self.assertTrue(
          np.allclose(model_1.kv.vectors, model_2.kv.vectors)
      )
  
imports: import logging
  import os
  import tempfile
  import unittest
  import numpy
  from gensim.models.poincare import PoincareRelations, PoincareModel, PoincareKeyedVectors
  from gensim.test.utils import datapath
label_desc: Use image node_id 2 for calling the TestPoincareModel obj's underlying member method code with example usage: obj.models_equal(model_1, model_2) without return types