Convert ONNX models to .rten format
Project description
rten-convert
rten-convert converts ONNX models to .rten
format, for use with the
RTen machine learning runtime.
Installation
The conversion tool requires Python >= 3.10. To install the tool, run:
pip install rten-convert
Usage
rten-convert your-model.onnx your-model.rten
The second argument is optional. If omitted the output filename will be the
input filename with the .onnx
extension replaced with .rten
.
Versioning
The rten-convert
tool and rten
library use common version numbering. A
model produced by rten-convert
version X can be executed by rten
version X
or newer.
Development
To install this tool from a checkout of the Git repository, run:
pip install -e .
After making changes, run the QA checks. First, install the development dependencies:
pip install -r requirements.dev.txt
Then run:
make check
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
Built Distribution
Hashes for rten_convert-0.12.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1fc17d2c85e78ef1c77c7cf91656ecde52f29423d524bcf58cc68ef4cfc1d70 |
|
MD5 | 112ef4f34f72452696a0455f908958b7 |
|
BLAKE2b-256 | 513549258e02129825168e18729d4344ff8031c5c23bab306ade9d316f3ad766 |