einsum
Experimental implementation of torch/onnx einsum
Install
pip3 install -U einsum
Or develop locally:
git clone https://github.com/sorenlassen/einsum-experiment ~/einsum
cd ~/einsum
python3 setup.py develop
Usage
import einsum
print('TODO')
Tests
Run einsum
's test suite:
pip3 install pytest
pytest
or
python3 setup.py develop
python3 tests/test_einsum.py
Type check with mypy:
pip3 install mypy
python3 -m mypy src/einsum/lib.py
Release
To publish a new release to pypi:
pip3 install python-semantic-release
pytest
semantic-release version --patch
git push && git push --tags
poetry build
poetry publish
About
pyproject.toml
was generated with mkpylib.
setup.py
was generated with poetry-gen-setup-py.