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.3.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.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: einsum-0.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f26d315e36b97c79ade01d1618fe6a055f868ac826a02cc49a86fad98a735055
MD5 9f008d09b53e3a7dc6866dffec056d76
BLAKE2b-256 9077b3df506b091083a1821381f1396ec7d195382a26a2d824444961a65f6943

See more details on using hashes here.

File details

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

File metadata

  • Download URL: einsum-0.2.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f11d79b69792cd92573440535a067827644fa1729937c1697af0d4bb4f638c23
MD5 434a1594f563a966c264a5331a9b09cf
BLAKE2b-256 25ab45b7495212aaafbf54ccb6b3cc635c725e3783839133dc339c2007bb84e3

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