tf.contrib.distributions.TransformedDistribution.__init__(base_dist_cls, transform, inverse, log_det_jacobian, name='TransformedDistribution', **base_dist_args)
Construct a Transformed Distribution.
Args:
-
base_dist_cls: the base distribution class to transform. Must be a subclass ofDistribution. -
transform: a callable that takes aTensorsample frombase_distand returns aTensorof the same shape and type.x => y. -
inverse: a callable that computes the inverse of transform.y => x. If None, users can only calllog_pdfon values returned bysample. -
log_det_jacobian: a callable that takes aTensorsample frombase_distand returns the log of the determinant of the Jacobian oftransform. -
name: The name for the distribution. -
**base_dist_args: kwargs to pass on to dist_cls on construction.
Raises:
-
TypeError: ifbase_dist_clsis not a subclass ofDistribution.
Please login to continue.