-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
464 changed files
with
130,331 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name=Arduino_deepC | ||
version=0.121 | ||
author=Rohit Sharma et. al. | ||
maintainer=Rohit Sharma <[email protected]> | ||
sentence=Allows you to run machine learning models locally on arduino boards. | ||
paragraph=This library runs deepC machine learning models on microcontrollers, allowing you to build AI/ML applications powered by deep learning and neural networks. With the included examples, you can recognize speech, detect people using a camera, and recognise asl gestures using an accelerometer. The examples work best with the Arduino Nano 33 BLE Sense board, which has a microphone and accelerometer. | ||
category=Data Processing | ||
url=https://github.com/ai-techsystems/dnnCompiler | ||
ldflags=-lm | ||
includes=deepC.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* | ||
Eigen.h | ||
Brian R Taylor | ||
[email protected] | ||
2017-02-08 | ||
Copyright (c) 2017 Bolder Flight Systems | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software | ||
and associated documentation files (the "Software"), to deal in the Software without restriction, | ||
including without limitation the rights to use, copy, modify, merge, publish, distribute, | ||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or | ||
substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
*/ | ||
|
||
// Credits: @rpavlik for writing the original header for the Eigen313 library, which this | ||
// was derived from: | ||
// http://forum.arduino.cc/index.php?PHPSESSID=a86gv50nb3e3ireijfmli63260&topic=144446.msg1089371#msg1089371 | ||
|
||
// Disable debug asserts. | ||
#define EIGEN_NO_DEBUG 1 | ||
|
||
// Hint to number of registers | ||
#define EIGEN_ARCH_DEFAULT_NUMBER_OF_REGISTERS 16 | ||
|
||
#ifdef A0 | ||
# define NEED_A0_RESTORED A0 | ||
# undef A0 | ||
#endif | ||
#ifdef A1 | ||
# define NEED_A1_RESTORED A1 | ||
# undef A1 | ||
#endif | ||
#ifdef B0 | ||
# define NEED_B0_RESTORED B0 | ||
# undef B0 | ||
#endif | ||
#ifdef B1 | ||
# define NEED_B1_RESTORED B1 | ||
# undef B1 | ||
#endif | ||
#ifdef round | ||
# define NEED_round_RESTORED round | ||
# undef round | ||
#endif | ||
|
||
namespace std { | ||
struct nothrow_t; | ||
} | ||
|
||
// Include main EIGEN Core header | ||
#include <Eigen/Core> | ||
|
||
#ifdef NEED_A0_RESTORED | ||
# define A0 NEED_A0_RESTORED | ||
# undef NEED_A0_RESTORED | ||
#endif | ||
#ifdef NEED_A1_RESTORED | ||
# define A1 NEED_A1_RESTORED | ||
# undef NEED_A1_RESTORED | ||
#endif | ||
#ifdef NEED_B0_RESTORED | ||
# define B0 NEED_B0_RESTORED | ||
# undef NEED_B0_RESTORED | ||
#endif | ||
#ifdef NEED_B1_RESTORED | ||
# define B1 NEED_B1_RESTORED | ||
# undef NEED_B1_RESTORED | ||
#endif | ||
#ifdef NEED_round_RESTORED | ||
# define round NEED_round_RESTORED | ||
# undef NEED_round_RESTORED | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
include(RegexUtils) | ||
test_escape_string_as_regex() | ||
|
||
file(GLOB Eigen_directory_files "*") | ||
|
||
escape_string_as_regex(ESCAPED_CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") | ||
|
||
foreach(f ${Eigen_directory_files}) | ||
if(NOT f MATCHES "\\.txt" AND NOT f MATCHES "${ESCAPED_CMAKE_CURRENT_SOURCE_DIR}/[.].+" AND NOT f MATCHES "${ESCAPED_CMAKE_CURRENT_SOURCE_DIR}/src") | ||
list(APPEND Eigen_directory_files_to_install ${f}) | ||
endif() | ||
endforeach(f ${Eigen_directory_files}) | ||
|
||
install(FILES | ||
${Eigen_directory_files_to_install} | ||
DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen COMPONENT Devel | ||
) | ||
|
||
install(DIRECTORY src DESTINATION ${INCLUDE_INSTALL_DIR}/Eigen COMPONENT Devel FILES_MATCHING PATTERN "*.h") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// This file is part of Eigen, a lightweight C++ template library | ||
// for linear algebra. | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla | ||
// Public License v. 2.0. If a copy of the MPL was not distributed | ||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#ifndef EIGEN_CHOLESKY_MODULE_H | ||
#define EIGEN_CHOLESKY_MODULE_H | ||
|
||
#include "Core" | ||
#include "Jacobi" | ||
|
||
#include "src/Core/util/DisableStupidWarnings.h" | ||
|
||
/** \defgroup Cholesky_Module Cholesky module | ||
* | ||
* | ||
* | ||
* This module provides two variants of the Cholesky decomposition for selfadjoint (hermitian) matrices. | ||
* Those decompositions are also accessible via the following methods: | ||
* - MatrixBase::llt() | ||
* - MatrixBase::ldlt() | ||
* - SelfAdjointView::llt() | ||
* - SelfAdjointView::ldlt() | ||
* | ||
* \code | ||
* #include <Eigen/Cholesky> | ||
* \endcode | ||
*/ | ||
|
||
#include "src/Cholesky/LLT.h" | ||
#include "src/Cholesky/LDLT.h" | ||
#ifdef EIGEN_USE_LAPACKE | ||
#ifdef EIGEN_USE_MKL | ||
#include "mkl_lapacke.h" | ||
#else | ||
#include "src/misc/lapacke.h" | ||
#endif | ||
#include "src/Cholesky/LLT_LAPACKE.h" | ||
#endif | ||
|
||
#include "src/Core/util/ReenableStupidWarnings.h" | ||
|
||
#endif // EIGEN_CHOLESKY_MODULE_H | ||
/* vim: set filetype=cpp et sw=2 ts=2 ai: */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// This file is part of Eigen, a lightweight C++ template library | ||
// for linear algebra. | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla | ||
// Public License v. 2.0. If a copy of the MPL was not distributed | ||
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
#ifndef EIGEN_CHOLMODSUPPORT_MODULE_H | ||
#define EIGEN_CHOLMODSUPPORT_MODULE_H | ||
|
||
#include "SparseCore" | ||
|
||
#include "src/Core/util/DisableStupidWarnings.h" | ||
|
||
extern "C" { | ||
#include <cholmod.h> | ||
} | ||
|
||
/** \ingroup Support_modules | ||
* \defgroup CholmodSupport_Module CholmodSupport module | ||
* | ||
* This module provides an interface to the Cholmod library which is part of the <a href="http://www.suitesparse.com">suitesparse</a> package. | ||
* It provides the two following main factorization classes: | ||
* - class CholmodSupernodalLLT: a supernodal LLT Cholesky factorization. | ||
* - class CholmodDecomposiiton: a general L(D)LT Cholesky factorization with automatic or explicit runtime selection of the underlying factorization method (supernodal or simplicial). | ||
* | ||
* For the sake of completeness, this module also propose the two following classes: | ||
* - class CholmodSimplicialLLT | ||
* - class CholmodSimplicialLDLT | ||
* Note that these classes does not bring any particular advantage compared to the built-in | ||
* SimplicialLLT and SimplicialLDLT factorization classes. | ||
* | ||
* \code | ||
* #include <Eigen/CholmodSupport> | ||
* \endcode | ||
* | ||
* In order to use this module, the cholmod headers must be accessible from the include paths, and your binary must be linked to the cholmod library and its dependencies. | ||
* The dependencies depend on how cholmod has been compiled. | ||
* For a cmake based project, you can use our FindCholmod.cmake module to help you in this task. | ||
* | ||
*/ | ||
|
||
#include "src/CholmodSupport/CholmodSupport.h" | ||
|
||
#include "src/Core/util/ReenableStupidWarnings.h" | ||
|
||
#endif // EIGEN_CHOLMODSUPPORT_MODULE_H | ||
|
Oops, something went wrong.