run onnx with only numpy
Project description
onnion-rt
Note: This software includes the work that is distributed in the Apache License 2.0.
Installation
$ pip3 install onnion-rt
Development Guide
$ poetry install
How to support new operators
- Add
onnion_runtime/xxx.py
- Add
from .xxx import Xxx # noqa: F401
toonnion_runtime/__init__.py
- Update "Supported Operators" in
README.md
- Add
tests/test_xxx.py
- Run tests
poetry run pytest -v
- Format and lint
poetry run pysen run format && poetry run pysen run lint
Supported Operators
This runtime supports only below operators.
- Add
- must be from opsetversion >= 7
- Concat
- Div
- must be from opsetversion >= 7
- Exp
- Mul
- must be from opsetversion >= 7
- Slice
- Sub
- must be from opsetversion >= 7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
onnion-rt-0.1.0a1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for onnion_rt-0.1.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 801ce3fd4c37fb77942fbcd86747822ed6111d07987339dc035c0bb75fda9d40 |
|
MD5 | 251ea60801b7695224728a06f9e01f09 |
|
BLAKE2b-256 | 026014d495dcd08cfb48aba148b2907081caf2349dcbf911de7a60f089fa1c6a |