Join us at TensorFlow World, Oct 28-31. Use code TF20 for 20% off select passes. Register now


Create a random variable for JointDistribution.


Defined in python/edward2/

See JointDistribution for more details.



Original Docstring for Distribution

Constructs the Distribution.

This is a private method for subclass use.


  • dtype: The type of the event samples. None implies no type-enforcement.
  • reparameterization_type: Instance of ReparameterizationType. If tfd.FULLY_REPARAMETERIZED, this Distribution can be reparameterized in terms of some standard distribution with a function whose Jacobian is constant for the support of the standard distribution. If tfd.NOT_REPARAMETERIZED, then no such reparameterization is available.
  • 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.
  • parameters: Python dict of parameters used to instantiate this Distribution.
  • graph_parents: Python list of graph prerequisites of this Distribution.
  • name: Python str name prefixed to Ops created by this class. Default: subclass name.


  • ValueError: if any member of graph_parents is None or not a Tensor.