Skip to main content

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


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)

Uploaded Source

Built Distribution

oasis_api_client-1.0.0-py3-none-any.whl (44.0 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