Skip to content

Shift Bijector¤

distreqx.bijectors.shift.Shift (AbstractBijector) ¤

Bijector that translates its input elementwise.

The bijector is defined as follows:

  • Forward: y = x + shift
  • Forward Jacobian determinant: log|det J(x)| = 0
  • Inverse: x = y - shift
  • Inverse Jacobian determinant: log|det J(y)| = 0

where shift parameterizes the bijector.

__init__(self, shift: Array) ¤

Initializes a Shift bijector.

Arguments:

  • shift: the bijector's shift parameter.