Aidge CPP Export
This module depends on aidge_core and registers generic C++ implementations for DNN operators.
Examples
If you want to generate exports and/or better understand how it works in Aidge, you may take a look at the following resources :
- Example Scripts : Python scripts examples to export common models;
- Export Tutorials : Notebooks to better understand the export process (you may find these tutorials on the Aidge documentation page as well);
- User Guide : Theoretical guides detailing the export structure.
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^-3 (for float exports).
An example script is provided for each of these models (examples/export_<model_name>/<model_name>.py).
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.10.0-py3-none-any.whl.
File metadata
- Download URL: aidge_export_cpp-0.10.0-py3-none-any.whl
- Upload date:
- Size: 200.0 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 |
f8242d29dc599cbb318df2d0d29c4a2db0dae8225b30d6de7621dd4ab456ae1e
|
|
| MD5 |
f9bb16c6335d019faf1ec18e6db3b54f
|
|
| BLAKE2b-256 |
4f4d905856dbd55c4ddd631e7666b4afcfc39b1eb1b075a8588faedf2f69aaa1
|