code: def test_previous_solver_internal_state(self, solver):
      jacobian_diag_part = np.float64([-0.5, -1.0])
      ode_fn = lambda time, state: jacobian_diag_part * state
      initial_time = 0.0
      initial_state = np.float64([1.0, 2.0])
      intermediate_time = 1.0
      final_time = 2.0
      solver_instance = solver(
          rtol=_RTOL, atol=_ATOL, validate_args=True
      )
      previous_results = solver_instance.solve(
          ode_fn,
          initial_time,
          initial_state,
          solution_times=base.ChosenBySolver(intermediate_time),
      )
      results = solver_instance.solve(
          ode_fn,
          intermediate_time,
          previous_results.states[-1],
          solution_times=base.ChosenBySolver(final_time),
          previous_solver_internal_state=previous_results.solver_internal_state,
      )
      times, states = self.evaluate([results.times, results.states])
      states_exact = (
          np.exp(
              jacobian_diag_part[np.newaxis, :] * times[:, np.newaxis]
          )
          * initial_state
      )
      self.assertAllClose(states, states_exact)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
  from tensorflow_probability.python.math.ode import base
  from tensorflow_probability.python.math.ode import bdf
  from tensorflow_probability.python.math.ode import dormand_prince
label_desc: Use image node_id 3 for calling the GeneralTest obj's underlying member method code with example usage: obj.test_previous_solver_internal_state(solver) without return types