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 -Clean -Tests -Python
Unix ./setup.sh -m export_cpp --clean --tests --python

[!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.0.post3-py3-none-any.whl (146.0 kB view details)

Uploaded Python 3

File details

Details for the file aidge_export_cpp-0.9.0.post3-py3-none-any.whl.

File metadata

File hashes

Hashes for aidge_export_cpp-0.9.0.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 b656b0309b370bf7cf2a45f3e2920ebde449fe21b15200764e7cad4de4d95036
MD5 044ee93702643c67589820f4c03488ed
BLAKE2b-256 7640efedfcb21b5f680a7a1f328af8de1f36c338a824b804d3e62439a029120c

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