alibi_detect.models.tensorflow.pixelcnn module

class alibi_detect.models.tensorflow.pixelcnn.Shift(shift, validate_args=False, name='shift')[source]

Bases: tensorflow_probability.python.bijectors.bijector.Bijector

__init__(shift, validate_args=False, name='shift')[source]

Instantiates the Shift bijector which computes Y = g(X; shift) = X + shift where shift is a numeric Tensor. :param shift: Floating-point Tensor. :param validate_args: Python bool indicating whether arguments should be

checked for correctness.


name – Python str name given to ops managed by this object.

property shift

The shift Tensor in Y = X + shift.