alibi_detect.od.base module
- class alibi_detect.od.base.FittedTransformProtocol(*args, **kwargs)[source]
Bases:
TransformProtocol
,Protocol
Protocol for fitted transformer objects.
This protocol models the joint interface of the
BaseTransformTorch
class and theFitMixinTorch
class. These objects are transforms that require to be fit.
- class alibi_detect.od.base.TransformProtocol(*args, **kwargs)[source]
Bases:
Protocol
Protocol for transformer objects.
The
BaseTransformTorch
object provides abstract methods for objects that map between torch tensors. This protocol models the interface of the BaseTransformTorch class.