code: def test_bad_initial_state_dtype(self, solver):
      ode_fn = lambda time, state: -state
      initial_time = 0.0
      initial_state = np.int32(1)
      with self.assertRaisesRegexp(
          TypeError,
          (
              "`initial_state` must have a floating point or complex "
              "floating point dtype"
          ),
      ):
          solver(validate_args=True).solve(
              ode_fn, initial_time, initial_state, solution_times=[1.0]
          )
  
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 1 for calling the GeneralTest obj's underlying member method code with example usage: obj.test_bad_initial_state_dtype(solver) without return types