tfp.edward2.ConditionalTransformedDistribution

tfp.edward2.ConditionalTransformedDistribution(
    *args,
    **kwargs
)

Create a random variable for ConditionalTransformedDistribution.

See ConditionalTransformedDistribution for more details.

Returns:

RandomVariable.

Original Docstring for Distribution

Construct a Transformed Distribution.

Args:

  • distribution: The base distribution instance to transform. Typically an instance of Distribution.
  • bijector: The object responsible for calculating the transformation. Typically an instance of Bijector.
  • batch_shape: integer vector Tensor which overrides distribution batch_shape; valid only if distribution.is_scalar_batch().
  • event_shape: integer vector Tensor which overrides distribution event_shape; valid only if distribution.is_scalar_event().
  • 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.
  • name: Python str name prefixed to Ops created by this class. Default: bijector.name + distribution.name.