Skip to main content

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

  1. Add onnion_runtime/xxx.py
  2. Add from .xxx import Xxx # noqa: F401 to onnion_runtime/__init__.py
  3. Update "Supported Operators" in README.md
  4. Add tests/test_xxx.py
  5. Run tests poetry run pytest -v
  6. 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


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)

Uploaded Source

Built Distribution

onnion_rt-0.1.0a1-py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page