Equivariant convolutional neural networks for the group E(3) of 3 dimensional rotations, translations, and mirrors.
Project description
e3nn-jax 
Documentation 
:boom: Warning :boom:
Please always check the ChangeLog for breaking changes.
Installation
To install the latest released version:
pip install --upgrade e3nn-jax
To install the latest GitHub version:
pip install git+https://github.com/e3nn/e3nn-jax.git
To install from a local copy for development, we recommend creating a virtual enviroment:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
To check that the tests are running:
pip install pytest
pytest tests/tensor_products_test.py
What is different from the PyTorch version?
- No more
shared_weightsandinternal_weightsinTensorProduct. Extensive use ofjax.vmapinstead (see example below) - Support of python structure
IrrepsArraythat contains a contiguous version of the data and a list ofjnp.ndarrayfor the data. This allows to avoid unnecessaryjnp.concatenantefollowed by indexing to reverse the concatenation (even thatjax.jitis probably able to unroll the concatenations) - Support of
Nonein the list ofjnp.ndarrayto avoid unnecessary computation with zeros (basically imposing0 * x = 0, which is not simplified by default by jax because0 * nan = nan)
Examples
The examples are moved in the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file e3nn_jax-0.9.2.tar.gz.
File metadata
- Download URL: e3nn_jax-0.9.2.tar.gz
- Upload date:
- Size: 74.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
993779dbf3940cedcde7ba6ef197853e9dbf309ffca7692282d5374492d84d39
|
|
| MD5 |
ff37992df0bc2f2d66199336f2b04b3a
|
|
| BLAKE2b-256 |
dd2bf088a9fd1f6290d72497c0e1f822eff10efb1cc31d30c99f8264b09c3a01
|
File details
Details for the file e3nn_jax-0.9.2-py3-none-any.whl.
File metadata
- Download URL: e3nn_jax-0.9.2-py3-none-any.whl
- Upload date:
- Size: 92.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
470ebad3e3eb9e4284dcd4dacc911653969335dc3654ba397b25df2257509dd8
|
|
| MD5 |
4568ba5952576196545cc2b7d2599b2b
|
|
| BLAKE2b-256 |
5de9e286d39de27ee63f20aad02f95410b3bd7626edfb1ad7fd3b6bd08f8fb63
|