code: def testMismatchedFloatTypesAreBad(self):
      exp_sin_squared.ExpSinSquared(
          1, 1
      )  # Should be OK (float32 fallback).
      exp_sin_squared.ExpSinSquared(1, np.float64(1))  # Should be OK.
      with self.assertRaises(TypeError):
          exp_sin_squared.ExpSinSquared(1, np.float64(1), np.float32(1))
  
file_path: probability/tensorflow_probability/python/math/psd_kernels/exp_sin_squared_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math.psd_kernels import exp_sin_squared
label_desc: Use image node_id 1 for calling the ExpSinSquaredTest obj's underlying member method code with example usage: obj.testMismatchedFloatTypesAreBad() without return types