Experimental implementation of torch/onnx einsum
Project description
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
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
# verify tests pass.
pytest
# bump the version number, add a git tag.
semantic-release version --patch # or --minor, or --major
# push the new version number and tag to github.
git push && git push --tags
# publish to pypi.
poetry build
poetry publish
About
pyproject.toml was generated with mkpylib.
setup.py was generated with poetry-gen-setup-py.
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
einsum-0.2.4.tar.gz
(5.3 kB
view details)
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 einsum-0.2.4.tar.gz.
File metadata
- Download URL: einsum-0.2.4.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0a2 CPython/3.9.10 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
889bf31096ab14a3b9343f2c5279bf23d900325c65a808c0db0c58226e7a5497
|
|
| MD5 |
11e5b09578da3dfd983bfc8d5fc93656
|
|
| BLAKE2b-256 |
e3b0f743d6eceb5daa82e3d43c468e4824082e1278249421d685379744fbb5fe
|
File details
Details for the file einsum-0.2.4-py3-none-any.whl.
File metadata
- Download URL: einsum-0.2.4-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0a2 CPython/3.9.10 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
19fe7f5de494ea910c89aa8cbb144232b58fd6e88c3a10c520a0e26f2969c068
|
|
| MD5 |
523edd3e21bad32f08a66ee88fdfc4e3
|
|
| BLAKE2b-256 |
fc09810ae9c9d9641f210bcacab138f43ae065d7095d360ab272ccd2a74a52a4
|