alibi.explainers.similarity.backends.pytorch.base module

pytorch backend for similarity explainers.

Methods unique to the pytorch backend are defined here. The interface this class defines syncs with the tensorflow backend in order to ensure that the similarity methods only require to match this interface.