Foolbox-native

Latest version: v0.6.2

Safety actively analyzes 619599 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.6.0

New Features
* added `value_and_grad` to `PyTorchModel`, `TensorFlowModel` and `JAXModel` to **differentiate arbitrary loss functions natively in all frameworks**
* added the **Carlini Wagner L2 attack** (works natively with PyTorch, TensorFlow and JAX) using `value_and_grad`
* added a `random_start` argument to the L-inf Basic Iterative Method
* added PGD
* added `atleast_kd` to utils
* bug fixes

0.5.0

New Features
* added the Fast Gradient Sign Method (L-infinity)
* added the Fast Gradient Method (L2)
* changed default epsilon of L2 attacks
* improved tests
* bug fixes

0.4.0

New Features
* Support for JAX models

0.3.0

New Features
* Real-world examples for PyTorch and TensorFlow with native performance
* `fbn.utils.samples` with support for PyTorch and TensorFlow
* Full support for `axis` and `flip_axis` arguments to `preprocessing` (in addition to `mean` and `std`)
* Faster preprocessing
* `fbn.models.FoolboxModel` to use classic Foolbox models with Foolbox Native
* Lot's of bugfixes

0.2.0

New Features
* Support for TensorFlow models

0.1.0

New Features
* Support for PyTorch models

New Attacks
* L2 Basic Iterative Method
* L-infinity Basic Iterative Method

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.