Aidge Backend CPU
Aidge Backend CPU is the implementation library for CPU-based operators within the Aidge framework.
Quick Start
Prerequisite:
aidge_core
pip install aidge-backend-cpu
python -c "import aidge_core; import aidge_backend_cpu; print(f'Available backends:\n{aidge_core.get_keys_Conv2DOp()}')"
This should now include the cpu backend in the output:
Available backends:
{'export_serialize', 'cpu'}
🛠 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 or C++ installation using setup scripts
| Environment | C++ Development | Python Development |
|---|---|---|
| Windows | .\setup.ps1 -Modules backend_cpu -Tests -CppOnly |
.\setup.ps1 -Modules backend_cpu -Clean -Tests |
| Unix | ./setup.sh -m backend_cpu --tests --cpp-only |
./setup.sh -m backend_cpu --clean --tests |
2. Python Installation using pip
Run these commands from the aidge_backend_cpu/ 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
3. C++ Installation (CMake)
A CMakePresets.json is provided for standard configurations.
# Configure, Build, and Install
cmake --preset clang-debug
cmake --build --preset clang-debug
cmake --install
# Run C++ Tests
ctest --test-dir build/
Metadata
Release files for aidge-backend-cpu 0.10.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 40.3 MB
Release files / aidge_backend_cpu-0.10.1-cp313-cp313-win_amd64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
32b4781930a6525ef69bcecabcc012e8a8e05fbbf2301c95f4bd5a1ee17f0548
|
|
BLAKE2b-256 checksum How to use checksums |
661b3b1b92741bd59b101ef11480e28e3583a5d39e99788e5170d27d114f6e1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d9a15d28db3222561445649ba5af975d295104c2aead8b90b25aacb5864f5732
|
|
BLAKE2b-256 checksum How to use checksums |
54e024c4810bae36fbdab3527db1a3405a440c3d7c4a02e9bf5c26d1ab3dbe51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp312-cp312-win_amd64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
84af0caeb5141615a359c34bd76c05c8ed01ea32702cc58efb03f056c5a4fb0c
|
|
BLAKE2b-256 checksum How to use checksums |
f458b2effb0332f9807ba1e3908a362fbbcd9e8e17a9ad6451b67869bccffc7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c81b7e96e1e7f7d17724565bd18b3cb1dde691ce77910bc41c715263f063949e
|
|
BLAKE2b-256 checksum How to use checksums |
0ec5f73649dec86fe0b1e1d08aa62fdf34f0294f16cb94521f030c7c47638163
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp311-cp311-win_amd64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e792aeaf2fde5cb32a273a3e8846bfd8e0f5b0044ac3282c978a9c0b7777f581
|
|
BLAKE2b-256 checksum How to use checksums |
139502eb9548a15afeea52831613008df8dbd048ecb496b49b3f1a146389e82a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ba442a93a14af4b6f3c592672d4dd9fe0c1a70163bb94524e6651473c2cc52f
|
|
BLAKE2b-256 checksum How to use checksums |
5594e574cd6443842dc54225f778eeb7a0e14c7986e34c7d67d5a6988660d2f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp310-cp310-win_amd64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c7ba759e74bca5125da1a60d2207739924bae68d7cb775a3d3115e16c550fd91
|
|
BLAKE2b-256 checksum How to use checksums |
09db03ef8d65cebae7f3849da1766c2f4ab808cdb9833d941a0a73926cdb2425
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / aidge_backend_cpu-0.10.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | aidge_backend_cpu-0.10.1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
622f8fd81b5513b51b81b5bc5ebaf73744a7aa894125797f4eeaf8a932400884
|
|
BLAKE2b-256 checksum How to use checksums |
a84c955b4a3182e292e9508dc7e8e8d8b54d4574d5f28fb3128f7bca3599072d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|