Skip to main content

Equivariant convolutional neural networks for the group E(3) of 3 dimensional rotations, translations, and mirrors.

Project description

e3nn-jax Coverage Status

Documentation Documentation Status

: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_weights and internal_weights in TensorProduct. Extensive use of jax.vmap instead (see example below)
  • Support of python structure IrrepsArray that contains a contiguous version of the data and a list of jnp.ndarray for the data. This allows to avoid unnecessary jnp.concatenante followed by indexing to reverse the concatenation (even that jax.jit is probably able to unroll the concatenations)
  • Support of None in the list of jnp.ndarray to avoid unnecessary computation with zeros (basically imposing 0 * x = 0, which is not simplified by default by jax because 0 * nan = nan)

Examples

The examples are moved in the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

e3nn_jax-0.7.0.tar.gz (53.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

e3nn_jax-0.7.0-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

Details for the file e3nn_jax-0.7.0.tar.gz.

File metadata

  • Download URL: e3nn_jax-0.7.0.tar.gz
  • Upload date:
  • Size: 53.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for e3nn_jax-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0f90e078e7273ff6e620dcce36c222dead6a5fe75ec7b9a905e690920d44defd
MD5 affee47d9aea281f95c5a2ac462e4d56
BLAKE2b-256 50f72beb81cc5371bef2d3a75c567feb8b2f490110f78e3a19010788ecc6c6cb

See more details on using hashes here.

File details

Details for the file e3nn_jax-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: e3nn_jax-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 63.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for e3nn_jax-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a73cd00e13256b6412147a315ee2435a28893c05fb3b17e916d763e7deb7a0ac
MD5 ec105ceef93701bf29615477fb5c5982
BLAKE2b-256 13cf8591d5e3a13fc8f9b7528db45688a169d7f9b9f938a4ed9e0ea7a0d7175d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page