Eagerpy

Latest version: v0.30.0

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

Scan your dependencies

Page 4 of 5

0.16.0

New Features

* `Tensor.tensor` is now called `Tensor.raw`
* added type hints to basically all methods and framework functions
* refactored large parts of the code
* many other bug fixes and improvements following from that

0.15.0

New Features

* `TensorFlowTensor` now supports automatic casting to the common `dtype` for all comparison operators
* other improvements and bug fixes

0.14.0

New Features

* added `ep.utils.get_dummy`
* `TensorFlowTensor.sum` now automatically casts boolean to int (like `PyTorchTensor` and others)
* other improvements and new tests

0.13.0

New Features

* added `__mod__`
* fixed `ep.mean` (was `sum` instead of `mean`)
* reorganized the tests
* completed our test suite to reach **100% test coverage**

0.12.0

New Features

* **99% test coverage**
* all tests rewritten from scratch
* removed all framework-specific duplication
* added nice helper functions
* truely lazy imports of the different frameworks
* added *magic* framework wrappers that automatically apply `ep.astensor` and preform lazy imports
* `ep.torch`
* `ep.tensorflow`
* `ep.numpy`
* `ep.jax`
* added `pow()`
* added `log_softmax()`
* added `kl_div_with_logits()`
* **lots of bugfixes and improvements**

0.11.0

New Features

* added support for **automatic differentation** of arbitrary functions that take and return EagerPy tensors
* `value_and_grad` (function and method)
* `value_aux_and_grad` (function and method)
* `value_and_grad_fn` (function)
* added `crossentropy`
* improved the `__repr__()` shown for EagerPy tensors
* other improvements and bug fixes

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.