OASIS is a Python wrapper of ONNC
Project description
OASIS-API-CLIENT
OASIS:
- SaaS for ONNC (Open neural network compiler)
Installation
Developer install
python3 -m pip install -e .
Using pip
pip install oasis-api-client
Python API Example
Here is an example to show how to use OASIS python API
from oasis.bench import login, Project
# Setup your OASIS 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
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
oasis-api-client-1.0.0.tar.gz
(29.9 kB
view hashes)
Built Distribution
Close
Hashes for oasis_api_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3895c3a2d1f3757ca83081ce67d69aa669c9832d4f1cfeed6f0e88b9e62dda6b |
|
MD5 | e0d8b26c133f6cfe9f15fba7d7e91e41 |
|
BLAKE2b-256 | 18e473d74420b412f870800cc71293df096b6580a22ecd33e89d1be7db6122e4 |