tensorflow_probability/python/distributions/joint_distribution_named.py
def _build(self, model):
    """Creates `dist_fn`, `dist_fn_wrapped`, `dist_fn_args`, `dist_fn_name`."""
    if not _is_dict_like(model):
      raise TypeError('`model` must be convertible to `dict` (saw: {}).'.format(
          type(model).__name__))
    [
        self._dist_fn,
        self._dist_fn_wrapped,
        self._dist_fn_args,
        self._dist_fn_name,  # JointDistributionSequential doesn't have this.
    ] = _prob_chain_rule_flatten(model)
def _build(self, model):
    if not _is_dict_like(model):
      raise TypeError('`model` must be convertible to `dict` (saw: {}).'.format(
          type(model).__name__))
    [
        self._dist_fn,
        self._dist_fn_wrapped,
        self._dist_fn_args,
        self._dist_fn_name,  # JointDistributionSequential doesn't have this.
    ] = _prob_chain_rule_flatten(model)
def _build ( self , model ) : if not _is_dict_like ( model ) : raise TypeError ( '`model` must be convertible to `dict` (saw: {}).' . format ( type ( model ) . __name__ ) ) [ self . _dist_fn , self . _dist_fn_wrapped , self . _dist_fn_args , self . _dist_fn_name , # JointDistributionSequential doesn't have this. ] = _prob_chain_rule_flatten ( model )
Creates `dist_fn`, `dist_fn_wrapped`, `dist_fn_args`, `dist_fn_name`.
Creates dist_fn dist_fn_wrapped dist_fn_args dist_fn_name .