code: def test_forward_pass(self):
      # Test forward computation of A**k.
      f = theano.function(
          inputs=[self.A, self.k],
          outputs=[self.result, self.result_check],
      )
      out, out_check = f(range(10), 101)
      assert np.allclose(out, out_check)
  
file_path: Theano/theano/scan_module/tests/test_scan_checkpoints.py
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import unittest
  import theano
  import theano.tensor
label_desc: Use image node_id 2 for calling the TestScanCheckpoint obj's underlying member method code with example usage: obj.test_forward_pass() without return types