def batch_shape_tensor(self):
batch_shape = tf.constant([], dtype=tf.int32)<EOL>for param in self.parameters:<EOL><INDENT>batch_shape = tf.broadcast_dynamic_shape(<EOL>batch_shape, param.prior.batch_shape_tensor())<EOL><DEDENT>return batch_shape<EOL>
Runtime batch shape of models represented by this component.

        Returns:
          batch_shape: `int` `Tensor` giving the broadcast batch shape of
            all model parameters. This should match the batch shape of
            derived state space models, i.e.,
            `self.make_state_space_model(...).batch_shape_tensor()`.