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
Usage
See tutorial.
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.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for onnion_rt-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e781b67a792b38e6890096575412471b5fabbbb2670a76975b1220974c2d6e |
|
MD5 | 884536437911644887a7624932c49484 |
|
BLAKE2b-256 | 33a89e7304bab2ab60daf56e1ff31799ab0dad731acf38d201ff0e0e60bcee4a |