ed.transformed.util.transformtransform(
x,
*args,
**kwargs
)
Defined in edward/util/random_variables.py.
Transform a continuous random variable to the unconstrained space.
transform selects among a number of default transformations which depend on the support of the provided random variable:
x: RandomVariable. Continuous random variable to transform. *args, **kwargs: Arguments to overwrite when forming the TransformedDistribution. For example, manually specify the transformation by passing in the bijector argument.RandomVariable. A TransformedDistribution random variable, or the provided random variable if no transformation was applied.
x = Gamma(1.0, 1.0)
y = ed.transform(x)
sess = tf.Session()
sess.run(y)
-2.2279539