CPU implementation of operators of the AIDGE framework
Project description
Aidge CPU library
You can find in this folder the library that implements the CPU operators. Those operators can be used on any machine with an Linux OS.
[TOC]
Quick Start
ℹ️ First, make sure to go through installation instructions required for every module.
Dependencies
aidge_core
# On Windows, from aidge/
# ----------[ C++ development]----------
setup.ps1 -Modules core -Clean -Tests
# ----------[ Python development]----------
setup.ps1 -Modules core -Clean -Tests -Python
# On Unix, from aidge/
# ----------[ C++ development]----------
./setup.sh -m core --clean --tests
# ----------[ Python development]----------
./setup.sh -m core --clean --tests --python
Using setup.ps1
[!NOTE] Windows only* *Unless you installed powershell on your system
# ----------[ C++ development]----------
# From aidge/
setup.ps1 -Modules backend_cpu -Clean -Tests
# ----------[ Python development]----------
# From aidge/
setup.ps1 -Modules backend_cpu -Clean -Tests -Python
[!TIP] Run
Get-Help setup.ps1 --Fullto display documentation
Using setup.sh
[!NOTE] Unix only*
# ----------[ C++ development]----------
# From aidge/
./setup.sh -m backend_cpu --clean --tests
# ----------[ Python development]----------
# From aidge/
./setup.sh -m backend_cpu --clean --tests --python
[!TIP] Run
setup.sh -hto display documentation
Using pip
[!NOTE] If using virtual environment, make sure to use the same for every installation !
# ----------[ Python development]----------
# only in aidge/aidge/aidge_backend_cpu/
pip install . -v
# If you want to install test, do this instead
pip install .[test] -v
# Launch tests using pytest
pytest
[!TIP]
-vis to enable verbose mode !
Development mode install
[!WARNING] Experimental Untested & experimental feature, see https://scikit-build-core.readthedocs.io/en/latest/configuration/index.html#editable-installs.
pip install --no-build-isolation --config-settings=editable.rebuild=true -Cbuild-dir=build -ve.
Using CMake
[!NOTE] Only for C++ development Don't use this method, if you wish to create a pip package Use
pipinstead.
A CMakePreset.json is available.
# Configure
cmake --preset clang-debug
# Build
cmake --build --preset clang-debug
# Install
cmake --install
# Test
ctest --test-dir build/
Feel free to create your own presets in CMakeUsersPresets.json by inheriting the ones available in CMakePresets.json.
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 Distributions
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_backend_cpu-0.9.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 39.0 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2438605e884492144169e9ed77225eeb6932420d3956efc5885207963bb1bc2
|
|
| MD5 |
993e74a5ed51570578daa4bf79f8f2ea
|
|
| BLAKE2b-256 |
814421c6d9cf2a52dacdc7bdaeb84a1c16ee7c0fed2268d8412f793d497a75b6
|
File details
Details for the file aidge_backend_cpu-0.9.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.7 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ba387d65c7bbe377729c36b16435d2cda71409e09cd64c6a95942ef965987f
|
|
| MD5 |
7a4af9894e1d7a12b20ae5095e7476d1
|
|
| BLAKE2b-256 |
86e4b4687d2c49501e0523541c31d056d78a81506aca562eafba15f2e7b66ed3
|
File details
Details for the file aidge_backend_cpu-0.9.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 38.9 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39836d8bae10386a721bee28fda3ba6a9cbaf909dde6277afb266e8cc5522aee
|
|
| MD5 |
ac098a2689dfb64de6b0ecc4cbe54ae0
|
|
| BLAKE2b-256 |
640138d438055be13516a1c9b3cecdd416f1542442d9fe29557e0c076092ca7b
|
File details
Details for the file aidge_backend_cpu-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.5 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b84b36c6796b92abf2947c57f2ce41fe8559bbc2bdf11c4fffe8024874fd7250
|
|
| MD5 |
482e5c9254b353ba5b23d7457b8d91dd
|
|
| BLAKE2b-256 |
4a6e52ab14c1e9314eba599a564a7aa433d7f361defb0dd6cc3eaa6f0b687d46
|
File details
Details for the file aidge_backend_cpu-0.9.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 38.8 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb2fbd79c3250b0670b598e92d8363333fe308f4a4b19d68bcb46578d21731f7
|
|
| MD5 |
a400cc68be6ac010278c2f9240b2dc9d
|
|
| BLAKE2b-256 |
4989687c23b7e170725b91b1fcf6b26737098761295bbf554e83b3c355d022e8
|
File details
Details for the file aidge_backend_cpu-0.9.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: aidge_backend_cpu-0.9.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 12.4 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5c8b3c72a7b21fb61fe4eb8004f0dbadaa1a8a14da75797bd94a9b06de9bd6
|
|
| MD5 |
d675eb19535a46ffeb1acbe652765f1d
|
|
| BLAKE2b-256 |
6472132e154c4a5e56c20c6416c10374acc20000e5b1868b77d0400026cb52a8
|