Aidge CPP generic export
Project description
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):
- Please review the global installation instructions before proceeding.
- If using a virtual environment, use the same one for all Aidge modules.
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
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 Distributions
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 aidge_export_cpp-0.9.1-py3-none-any.whl.
File metadata
- Download URL: aidge_export_cpp-0.9.1-py3-none-any.whl
- Upload date:
- Size: 145.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb10f7f52876bcddb26c4dac8f1c70e27ee46802589f67bd6532f27ee73225fa
|
|
| MD5 |
e7300eda65c088fc2902655feae50ade
|
|
| BLAKE2b-256 |
e9e2dd98847eebd3412b561bb411b12a5944f1ff395eea9fc73d203c8853f94b
|