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.0a2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for onnion_rt-0.1.0a2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2518e13cecbf44e04ea1ec147ab83c5bfa323862e52235ccb62496578459442c |
|
MD5 | a39d6df9c733872213ce3d1305f763c7 |
|
BLAKE2b-256 | 9f2e9f16d0a2413d22a9a6191d7effd9c8ee8aef081a26b9726367a09a79a49d |