def batch_shape(self, name='batch_shape'):
    'Batch dimensions of this instance as a 1-D int32 `Tensor`.\n\n    The product of the dimensions of the `batch_shape` is the number of\n    independent distributions of this kind the instance represents.\n\n    Args:\n      name: name to give to the op\n\n    Returns:\n      `Tensor` `batch_shape`\n    '
    with ops.name_scope(self.name):
        with ops.name_scope(name, values=[self._broadcast_tensor]):
            return array_ops.shape(self._broadcast_tensor)
Batch dimensions of this instance as a 1-D int32 `Tensor`.

The product of the dimensions of the `batch_shape` is the number of
independent distributions of this kind the instance represents.

Args:
  name: name to give to the op

Returns:
  `Tensor` `batch_shape`
def batch_shape(self, name='batch_shape'):
    'Batch dimensions of this instance as a 1-D int32 `Tensor`.\n\n    The product of the dimensions of the `batch_shape` is the number of\n    independent distributions of this kind the instance represents.\n\n    Args:\n      name: name to give to the op\n\n    Returns:\n      `Tensor` `batch_shape`\n    '
    with ops.name_scope(self.name):
        with ops.name_scope(name, values=[self._broadcast_tensor]):
            return array_ops.shape(self._broadcast_tensor)