code: def test_dtype_backward_compatibility(self):
      ldaseq_3_0_1_fname = datapath("DTM/ldaseq_3_0_1_model")
      test_doc = [(547, 1), (549, 1), (552, 1), (555, 1)]
      expected_topics = [0.99751244, 0.00248756]
  
      # save model to use in test
      # self.ldaseq.save(ldaseq_3_0_1_fname)
  
      # load a model saved using a 3.0.1 version of Gensim
      model = ldaseqmodel.LdaSeqModel.load(ldaseq_3_0_1_fname)
  
      # and test it on a predefined document
      topics = model[test_doc]
      self.assertTrue(np.allclose(expected_topics, topics))
  
file_path: gensim/gensim/test/test_ldaseqmodel.py
imports: import unittest
  import logging
  import numpy
  from gensim.models import ldaseqmodel
  from gensim.corpora import Dictionary
  from gensim.test.utils import datapath
label_desc: Use image node_id 4 for calling the TestLdaSeq obj's underlying member method code with example usage: obj.test_dtype_backward_compatibility() without return types