Skip to main content

Aidge CPP generic export

Project description

Aidge logo

EPL 2.0 Examples PyPi Examples Documentation Status GitLab Contributors Open GitLab Issues Closed GitLab Issues

Aidge CPP Export

Use this module to export your Aidge model to a generic CPP export

Quick start

System Requirements

  • python >= 3.10
pip install aidge-export-cpp

🛠 Build from Source

Prerequisite (in addition to previous one):

1. Python installation using setup scripts

Environment Python Development
Windows .\setup.ps1 -Modules export_cpp -Tests
Unix ./setup.sh -m export_cpp --tests

[!TIP] Use Get-Help setup.ps1 (Windows) or ./setup.sh -h (Unix) for full documentation.

2. Python Installation using pip

Run these commands from the aidge_export_cpp/ directory:

#fStandard install
pip install . -v

# Install with testing dependencies
pip install .[test] -v && pytest

Editable Install (Experimental)

Use this for real-time development without re-installing.

pip install --no-build-isolation -ve . --config-settings=editable.rebuild=true -Cbuild-dir=build

Export Support

The following models have been tested :

Model float32 int8
LeNet
ResNet18

On the table above, validation is done using the aidge_cmp option, which evaluates the results between the aidge_backend_cpu and aidge_export_cpp kernels, with an absolute precision of 10^-5 (for float exports).

An example script is provided for each of these models (examples/export_<model_name>/<model_name>.py).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

aidge_export_cpp-0.9.1.post2-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

File details

Details for the file aidge_export_cpp-0.9.1.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for aidge_export_cpp-0.9.1.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 fd0288b83468195f5e69ac409912b93cccae90748bc99e61910e8ebc2ed20eca
MD5 20cb7805b08bf9ce829c5b2d93aea81e
BLAKE2b-256 30c76c38822f574c11b6b9dbd766ce4843e6f754a2f6da8be0a7884d2f5775b3

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