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


Create a random variable for JointDistributionCoroutine.


Defined in python/edward2/

See JointDistributionCoroutine for more details.



Original Docstring for Distribution

Construct the JointDistributionCoroutine distribution.


  • model: A generator that yields a sequence of tfd.Distribution-like instances.
  • sample_dtype: Samples from this distribution will be structured like tf.nest.pack_sequence_as(sample_dtype, list_). sample_dtype is only used for tf.nest.pack_sequence_as structuring of outputs, never casting (which is the responsibility of the component distributions). Default value: None (i.e., tuple).
  • validate_args: Python bool. Whether to validate input with asserts. If validate_args is False, and the inputs are invalid, correct behavior is not guaranteed. Default value: False.
  • name: The name for ops managed by the distribution. Default value: None (i.e., "JointDistributionCoroutine").