Skip to content
Snippets Groups Projects
Commit 374b93b9 authored by Maxence Naud's avatar Maxence Naud
Browse files

Reduce memory usage of some python binding during compilation

parent 88fa485b
No related branches found
No related tags found
1 merge request!357[upd] 'removeConstantOfShape' recipe
Pipeline #66524 passed
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
* *
********************************************************************************/ ********************************************************************************/
#include <memory>
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include "aidge/data/Tensor.hpp"
#include "aidge/operator/Abs.hpp" #include "aidge/operator/Abs.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
......
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include "aidge/operator/Add.hpp" #include "aidge/operator/Add.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
#include "aidge/utils/Types.h"
namespace py = pybind11; namespace py = pybind11;
namespace Aidge { namespace Aidge {
......
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
* *
********************************************************************************/ ********************************************************************************/
#include <memory>
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include "aidge/data/Tensor.hpp"
#include "aidge/operator/And.hpp" #include "aidge/operator/And.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
********************************************************************************/ ********************************************************************************/
#include <string> #include <string>
#include <vector>
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include "aidge/data/Tensor.hpp"
#include "aidge/operator/BatchNorm.hpp" #include "aidge/operator/BatchNorm.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
#include "aidge/utils/Types.h" #include "aidge/utils/Types.h"
......
...@@ -9,9 +9,10 @@ ...@@ -9,9 +9,10 @@
* *
********************************************************************************/ ********************************************************************************/
#include <memory>
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include "aidge/data/Tensor.hpp"
#include "aidge/operator/ReLU.hpp" #include "aidge/operator/ReLU.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
......
...@@ -9,17 +9,16 @@ ...@@ -9,17 +9,16 @@
* *
********************************************************************************/ ********************************************************************************/
#include <array> #include <cstdint> // std::int32_t
#include <pybind11/pybind11.h> #include <memory>
#include <pybind11/stl.h> #include <string>
#include <string> #include <vector>
#include <vector>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "aidge/backend/OperatorImpl.hpp"
#include "aidge/data/Tensor.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
#include "aidge/operator/ReduceMean.hpp" #include "aidge/operator/ReduceMean.hpp"
#include "aidge/utils/Types.h"
namespace py = pybind11; namespace py = pybind11;
namespace Aidge { namespace Aidge {
......
...@@ -9,17 +9,16 @@ ...@@ -9,17 +9,16 @@
* *
********************************************************************************/ ********************************************************************************/
#include <array> #include <cstdint> // std::int32_t
#include <pybind11/pybind11.h> #include <memory>
#include <pybind11/stl.h>
#include <string> #include <string>
#include <vector> #include <vector>
#include "aidge/backend/OperatorImpl.hpp" #include <pybind11/pybind11.h>
#include "aidge/data/Tensor.hpp" #include <pybind11/stl.h>
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
#include "aidge/operator/ReduceSum.hpp" #include "aidge/operator/ReduceSum.hpp"
#include "aidge/utils/Types.h"
namespace py = pybind11; namespace py = pybind11;
namespace Aidge { namespace Aidge {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment