onnx compiler
Project description
onnion
Installation
$ pip3 install onnion
Usage
$ onnion ssd-10-post.onnx -o ssd_post_model.py
$ python
>>> from ssd_post_model import init_graph
>>> graph = init_graph()
>>> inputs = ... # List[np.array]
>>> outputs = graph.run(*inputs)
The order of the inputs and the outputs in the run
method corresponds to the order of the inputs and the outputs in the onnx graph.
See also tutorial.
Development Guide
$ poetry install
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-0.4.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
onnion-0.4.0-py3-none-any.whl
(4.4 kB
view hashes)