code: def testAssertParamsAreFloats(self):
      loc = tf.convert_to_tensor(0, dtype=tf.int32)
      scale = tf.convert_to_tensor(1, dtype=tf.int32)
      with self.assertRaisesRegexp(
          ValueError, "Expected floating point"
      ):
          laplace.Laplace(loc=loc, scale=scale)
  
imports: import numpy
  from scipy import stats
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import laplace
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import gradient
label_desc: Use image node_id 24 for calling the LaplaceTest obj's underlying member method code with example usage: obj.testAssertParamsAreFloats() without return types