alibi_detect.models.tensorflow.pixelcnn module
- class alibi_detect.models.tensorflow.pixelcnn.Shift(*args: Any, **kwargs: Any)[source]
Bases:
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.
- Parameters:
shift – Floating-point Tensor.
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.