Codebase list eagerpy / 0e3bcac
updated README Jonas Rauber 4 years ago
2 changed file(s) with 20 addition(s) and 23 deletion(s). Raw diff Collapse all Expand all
77 :target: https://github.com/ambv/black
88
99
10 .. image:: https://raw.githubusercontent.com/jonasrauber/eagerpy/master/docs/.vuepress/public/logo_small.png
11 :target: https://jonasrauber.github.io/eagerpy/
12
13
1014 =======
1115 EagerPy
1216 =======
13
14 .. image:: https://jonasrauber.github.io/eagerpy/logo.png
15 :target: https://jonasrauber.github.io/eagerpy/
16
17 What is EagerPy?
18 ----------------
1917
2018 `EagerPy <https://jonasrauber.github.io/eagerpy/>`_ is a **Python framework** that let's you write code that automatically works natively with `PyTorch <https://pytorch.org>`_, `TensorFlow <https://www.tensorflow.org>`_, `JAX <https://github.com/google/jax>`_, and `NumPy <https://numpy.org>`_.
2119
2220 EagerPy is **also great when you work with just one framework** but prefer a clean and consistent NumPy-inspired API that is fully chainable, provides extensive type annotions and let's you write beautiful code. It often combines the best of PyTorch's API and NumPy's API.
2321
24 Design goals
25 ------------
22 🔥 Design goals
23 --------------
2624
2725 - **Native Performance**: EagerPy operations get directly translated into the corresponding native operations.
2826 - **Fully Chainable**: All functionality is available as methods on the tensor objects and as EagerPy functions.
2927 - **Type Checking**: Catch bugs before running your code thanks to EagerPy's extensive type annotations.
3028
31 Documentation
32 -------------
29 📖 Documentation
30 ---------------
3331
3432 Learn more about in the `documentation <https://jonasrauber.github.io/eagerpy/>`_.
3533
36 Use cases
37 ---------
38
39 `Foolbox Native <https://github.com/bethgelab/foolbox>`_, the latest version of
40 Foolbox, a popular adversarial attacks library, has been rewritten from scratch
41 using EagerPy instead of NumPy to achieve native performance on models
42 developed in PyTorch, TensorFlow and JAX, all with one code base.
43
44 Installation
34 🚀 Quickstart
4535 ------------
4636
4737 .. code-block:: bash
4939 pip install eagerpy
5040
5141
52 Example
53 -------
42 🎉 Example
43 ---------
5444
5545 .. code-block:: python
5646
9585 # You can call this function using any kind of tensors and the result
9686 # will have the same type.
9787
88 🗺 Use cases
89 -----------
9890
99 Compatibility
100 -------------
91 `Foolbox Native <https://github.com/bethgelab/foolbox>`_, the latest version of
92 Foolbox, a popular adversarial attacks library, has been rewritten from scratch
93 using EagerPy instead of NumPy to achieve native performance on models
94 developed in PyTorch, TensorFlow and JAX, all with one code base.
95
96 🐍 Compatibility
97 ---------------
10198
10299 We currently test with the following versions:
103100