Skip to main content

ONNC-bench is a Python wrapper of ONNC

Project description

WARNING: This repository is no longer maintained ⚠️

This repository has been moved to:

Make sure you have permission to view this repository

ONNC-bench

ONNC-bench is a Python wrapper of ONNC

Installation

Developer install

python3 -m pip install -e .

Using pip

pip install onnc-bench

Python API Example

Here is an example to show how to use ONNC python API

from onnc.bench import login, Project
# Setup your ONNC API key
api_key = "Your API KEY"
login(api_key)

# Instantiate a projct
project = Project('experiment-1')

# Add a model and its coresponding calibration samples
project.add_model('path/to/model', 'path/to/samples')

# Compile the model and optmize to `CMSIS-NN` backend
project.compile(target='CMSIS-NN-DEFAULT')


# Save the compiled model
deployment = project.save('./output')

Please Check https://docs-tinyonnc.skymizer.com/index.html for the full documents.

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

onnc-bench-4.3.1.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onnc_bench-4.3.1-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

Details for the file onnc-bench-4.3.1.tar.gz.

File metadata

  • Download URL: onnc-bench-4.3.1.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for onnc-bench-4.3.1.tar.gz
Algorithm Hash digest
SHA256 edbb7ca4b4ab65bf095f4a75383b81a6960b8916ec50874da2866263b06505fe
MD5 a27bba6a4a10729a590874e9aee042da
BLAKE2b-256 a995cfb7969923124cfc6e841252b7f9cf2b34688b338b81c7463789765707ec

See more details on using hashes here.

File details

Details for the file onnc_bench-4.3.1-py3-none-any.whl.

File metadata

  • Download URL: onnc_bench-4.3.1-py3-none-any.whl
  • Upload date:
  • Size: 43.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for onnc_bench-4.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fc489c628eaa4f121fda1cae529928110d885376eff6db8fb51bbf83693ddf37
MD5 a28fce9b816ce0e7118fa32aaf10309b
BLAKE2b-256 f6cbb5437b2d51d11b055127ff7008a962584c716d91c03c9484efd0d4e53796

See more details on using hashes here.

Supported by

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