code: def testMismatchedFloatTypesAreBad(self):
      base_kernel = exponentiated_quadratic.ExponentiatedQuadratic(
          np.float64(5.0), np.float64(0.2)
      )
  
      # Should be OK
      schur_complement.SchurComplement(
          base_kernel=base_kernel,  # float64
          fixed_inputs=np.random.uniform(-1.0, 1.0, [2, 1]),
      )
  
      with self.assertRaises(TypeError):
          float32_inputs = np.random.uniform(-1.0, 1.0, [2, 1]).astype(
              np.float32
          )
  
          schur_complement.SchurComplement(
              base_kernel=base_kernel, fixed_inputs=float32_inputs
          )
  
imports: import functools
  import itertools
  from unittest import mock
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import cholesky_util
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
  from tensorflow_probability.python.math.psd_kernels import exponentiated_quadratic
  from tensorflow_probability.python.math.psd_kernels import schur_complement
  from tensorflow_probability.python.math.psd_kernels.internal import test_util
label_desc: Use image node_id 1 for calling the SchurComplementTest obj's underlying member method code with example usage: obj.testMismatchedFloatTypesAreBad() without return types