code: def testNonFloatFractionMaskedRaises(self):
      with self.assertRaisesRegexp(
          TypeError, "`fraction_masked` must be a float"
      ):
          real_nvp.RealNVP(
              fraction_masked=1,
              shift_and_log_scale_fn=lambda x, _: (x, x),
          )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import inline
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.bijectors import real_nvp
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import shift
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.distributions import sample
  from tensorflow_probability.python.distributions import transformed_distribution
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.internal import tf_keras
label_desc: Use image node_id 4 for calling the RealNVPTestCommon obj's underlying member method code with example usage: obj.testNonFloatFractionMaskedRaises() without return types