bijectors
Bijectors for transforming parameters.
These are re-exports from parax, which in turn takes them from the distreqx library, filling in any that the installed version of distreqx does not provide. The goal is to cover the most common applications; for more advanced use-cases, simply use distreqx directly instead.
Classes
Differentiable bijection that knows to compute its Jacobian determinant. |
|
|
Composition of a sequence of bijectors into a single bijector. |
|
Linear bijector with a diagonal weight matrix. |
|
Exponential bijector: y = exp(x). |
|
Identity bijector: y = x. |
|
Inverted version of a given bijector. |
|
Applies a pytree of bijectors to a pytree of inputs. |
|
Permutation bijector that reorders the elements of a 1D event. |
|
Maps a real array of shape (..., 2) to a complex array of shape (...). |
|
An affine bijector that acts elementwise. |
|
Bijector that translates its input elementwise. |
|
A bijector that computes the logistic sigmoid. |
|
Transforms the real line to the positive domain using softplus y = log(1 + exp(x)). |
|
A bijector that computes the hyperbolic tangent. |
|
A bijector that transposes the dimensions of the input array. |
|
A linear bijector whose weight matrix is triangular. |