docstr: Helper to create inputs with optional static shapes.
docstr_tok: ["Helper","to","create","inputs","with","optional","static","shapes","."]
code: def _input(self, value):
      """Helper to create inputs with optional static shapes."""
      value = tf.convert_to_tensor(value)
      return tf1.placeholder_with_default(
          value, shape=value.shape if self.use_static_shape else None
      )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import blockwise
  from tensorflow_probability.python.distributions import exponential
  from tensorflow_probability.python.distributions import gamma
  from tensorflow_probability.python.distributions import independent
  from tensorflow_probability.python.distributions import joint_distribution_coroutine
  from tensorflow_probability.python.distributions import joint_distribution_named
  from tensorflow_probability.python.distributions import joint_distribution_sequential
  from tensorflow_probability.python.distributions import kullback_leibler
  from tensorflow_probability.python.distributions import mvn_linear_operator
  from tensorflow_probability.python.distributions import mvn_tril
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 1 for calling the BlockwiseTestStaticParams obj's underlying member method code with example usage: obj._input(value) and returns: tf1