Skip to main content

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.5.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

einsum-0.2.5-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file einsum-0.2.5.tar.gz.

File metadata

  • Download URL: einsum-0.2.5.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

Hashes for einsum-0.2.5.tar.gz
Algorithm Hash digest
SHA256 60689a6c91b45750c277a84ba37ebed484540e8cad26e61dd376695120e56d47
MD5 60014350afdce96b1495ae3ddfb65d9b
BLAKE2b-256 ff0d15a09c1decc30550fa9dd2e99baf8beb67be146f17cd285d921662ef13ea

See more details on using hashes here.

File details

Details for the file einsum-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: einsum-0.2.5-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

Hashes for einsum-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 866d10704226874c0ca04b640f59e3e005e5b68dca930dc88906c8d785768e02
MD5 d561cbc3b7c6cf2dacda5b50dd14b3be
BLAKE2b-256 8976f04d9231c15e6117d604f31ae2af96fc945bc9e979609357bc8da6daa0ba

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