From da52f8224c7bb012126b0b7b2fcce1b8cc9853d4 Mon Sep 17 00:00:00 2001 From: Maxence Naud <maxence.naud@cea.fr> Date: Tue, 25 Jun 2024 21:49:57 +0000 Subject: [PATCH] Fix binding heritage and header includes --- include/aidge/operator/Resize.hpp | 3 +-- python_binding/operator/pybind_Resize.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/aidge/operator/Resize.hpp b/include/aidge/operator/Resize.hpp index 356548d26..c4c0e6fba 100644 --- a/include/aidge/operator/Resize.hpp +++ b/include/aidge/operator/Resize.hpp @@ -13,14 +13,13 @@ #define AIDGE_CORE_OPERATOR_Resize_H_ #include <memory> +#include <string> #include <vector> #include "aidge/backend/OperatorImpl.hpp" #include "aidge/graph/Node.hpp" #include "aidge/operator/OperatorTensor.hpp" -#include "aidge/operator/Producer.hpp" #include "aidge/utils/Registrar.hpp" -#include "aidge/utils/StaticAttributes.hpp" #include "aidge/utils/Types.h" namespace Aidge { diff --git a/python_binding/operator/pybind_Resize.cpp b/python_binding/operator/pybind_Resize.cpp index 9aa0ae954..a925af8cf 100644 --- a/python_binding/operator/pybind_Resize.cpp +++ b/python_binding/operator/pybind_Resize.cpp @@ -18,7 +18,7 @@ namespace py = pybind11; namespace Aidge { void init_Resize(py::module& m) { - py::class_<Resize_Op, std::shared_ptr<Resize_Op>, Attributes, OperatorTensor>(m, "ResizeOp", py::multiple_inheritance()) + py::class_<Resize_Op, std::shared_ptr<Resize_Op>, OperatorTensor>(m, "ResizeOp", py::multiple_inheritance()) .def_static("get_inputs_name", &Resize_Op::getInputsName) .def_static("get_outputs_name", &Resize_Op::getOutputsName); -- GitLab