Create a random variable for JointDistributionCoroutine.

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(sampledtype, 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).