def __init__(self,<EOL>concentration1,<EOL>concentration0,<EOL>validate_args=False,<EOL>allow_nan_stats=True,<EOL>name="<STR_LIT>"):
parameters = dict(locals())<EOL>with tf.name_scope(name) as name:<EOL><INDENT>dtype = dtype_util.common_dtype([concentration1, concentration0],<EOL>tf.float32)<EOL>self._concentration1 = self._maybe_assert_valid_concentration(<EOL>tf.convert_to_tensor(<EOL>value=concentration1, name="<STR_LIT>", dtype=dtype),<EOL>validate_args)<EOL>self._concentration0 = self._maybe_assert_valid_concentration(<EOL>tf.convert_to_tensor(<EOL>value=concentration0, name="<STR_LIT>", dtype=dtype),<EOL>validate_args)<EOL>self._total_concentration = self._concentration1 + self._concentration0<EOL><DEDENT>super(Beta, self).__init__(<EOL>dtype=dtype,<EOL>validate_args=validate_args,<EOL>allow_nan_stats=allow_nan_stats,<EOL>reparameterization_type=reparameterization.FULLY_REPARAMETERIZED,<EOL>parameters=parameters,<EOL>graph_parents=[<EOL>self._concentration1, self._concentration0,<EOL>self._total_concentration<EOL>],<EOL>name=name)<EOL>
Initialize a batch of Beta distributions.

        Args:
          concentration1: Positive floating-point `Tensor` indicating mean
            number of successes; aka "alpha". Implies `self.dtype` and
            `self.batch_shape`, i.e.,
            `concentration1.shape = [N1, N2, ..., Nm] = self.batch_shape`.
          concentration0: Positive floating-point `Tensor` indicating mean
            number of failures; aka "beta". Otherwise has same semantics as
            `concentration1`.
          validate_args: Python `bool`, default `False`. When `True` distribution
            parameters are checked for validity despite possibly degrading runtime
            performance. When `False` invalid inputs may silently render incorrect
            outputs.
          allow_nan_stats: Python `bool`, default `True`. When `True`, statistics
            (e.g., mean, mode, variance) use the value "`NaN`" to indicate the
            result is undefined. When `False`, an exception is raised if one or
            more of the statistic's batch members are undefined.
          name: Python `str` name prefixed to Ops created by this class.