code: def testRaisesBadBlocksDynamic(self):
      if tf.executing_eagerly():
          return
      with self.assertRaises(tf.errors.InvalidArgumentError):
          block_sizes = tf1.placeholder_with_default([1, 2], shape=None)
          bijector = blockwise.Blockwise(
              bijectors=[exp.Exp()],
              block_sizes=block_sizes,
              validate_args=True,
          )
          self.evaluate(bijector.block_sizes)
  
      with self.assertRaises(tf.errors.InvalidArgumentError):
          block_sizes = tf1.placeholder_with_default([[1]], shape=None)
          bijector = blockwise.Blockwise(
              bijectors=[exp.Exp()],
              block_sizes=block_sizes,
              validate_args=True,
          )
          self.evaluate(bijector.block_sizes)
  
imports: from absl.testing import parameterized
  import mock
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import bijector_test_util
  from tensorflow_probability.python.bijectors import blockwise
  from tensorflow_probability.python.bijectors import exp
  from tensorflow_probability.python.bijectors import inline
  from tensorflow_probability.python.bijectors import scale
  from tensorflow_probability.python.bijectors import scale_matvec_diag
  from tensorflow_probability.python.bijectors import softmax_centered
  from tensorflow_probability.python.bijectors import softplus
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 9 for calling the BlockwiseBijectorTest obj's underlying member method code with example usage: obj.testRaisesBadBlocksDynamic() without return types