IntelLabs / MART

Modular Adversarial Robustness Toolkit
BSD 3-Clause "New" or "Revised" License
17 stars 0 forks source link

Remove BatchEnforcer in favor of batch-aware Enforcer #122

Closed dxoigmn closed 1 year ago

dxoigmn commented 1 year ago

What does this PR do?

Instead of wrapping existing Enforcers in a BatchEnforcer wrapper, we can just make the Enforcer base class batch/tuple-aware. This simplifies things.

Type of change

Please check all relevant options.

Testing

Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.

Before submitting

Did you have fun?

Make sure you had fun coding 🙃