docstr: Tests that the model is trained successfully with gradients check enabled.
code: def test_gradients_check(self):
      """Tests that the model is trained successfully with gradients check enabled."""
      model = PoincareModel(self.data, negative=3)
      try:
          model.train(epochs=1, batch_size=1, check_gradients_every=1)
      except Exception as e:
          self.fail(
              "Exception %s raised unexpectedly while training with gradient checking"
              % repr(e)
          )
  
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 16 for calling the TestPoincareModel obj's underlying member method code with example usage: obj.test_gradients_check() without return types