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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oasis-api-client-1.0.0.tar.gz.
File metadata
- Download URL: oasis-api-client-1.0.0.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
550e08fb3813cd86553c93c23ed217d9247d3e7ca3ad353f81d0f153482104a8
|
|
| MD5 |
13ab57d76e1e6df151034470c9184027
|
|
| BLAKE2b-256 |
b8f7be809e346b3d828360bbe7c1a390f7cae7afb3edc5ee4c3b4e3d93607159
|
File details
Details for the file oasis_api_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: oasis_api_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 44.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3895c3a2d1f3757ca83081ce67d69aa669c9832d4f1cfeed6f0e88b9e62dda6b
|
|
| MD5 |
e0d8b26c133f6cfe9f15fba7d7e91e41
|
|
| BLAKE2b-256 |
18e473d74420b412f870800cc71293df096b6580a22ecd33e89d1be7db6122e4
|