Distributed API Reference
This page contains the reference for the distributed API of attribench.
For simple, small-scale experiments, the attribench
functional API is recommended. For large-scale experiments,
the distributed API is recommended, as it can leverage multiple GPUs.
General
|
Select correctly classified samples from a dataset and write them to a HDF5 file. |
Train adversarial patches for a given model and dataset and save them to disk. |
|
Compute attributions for a dataset using multiple processes. |
Metrics
|
Abstract base class for metrics that are computed using multiple processes. |
Compute the Deletion metric for a given |
|
Compute the Insertion metric for a given |
|
Computes the Impact Coverage metric for a given dataset, model, and set of attribution methods, using multiple processes. |
|
|
Compute the IROF metric for a given |
Computes the Infidelity metric for a given |
|
Compute the Max-Sensitivity metric for a given Dataset and attribution methods using multiple processes. |
|
Computes Minimal Subset Deletion or Insertion for a given |
|
Compute the Sensitivity-n metric for a given |