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

Fix binding heritage and header includes

parent 51d40777
No related branches found
No related tags found
2 merge requests!152Update Aidge export to take a graph view has an argument instead of a...,!125Operator resize
Pipeline #49139 passed
...@@ -13,14 +13,13 @@ ...@@ -13,14 +13,13 @@
#define AIDGE_CORE_OPERATOR_Resize_H_ #define AIDGE_CORE_OPERATOR_Resize_H_
#include <memory> #include <memory>
#include <string>
#include <vector> #include <vector>
#include "aidge/backend/OperatorImpl.hpp" #include "aidge/backend/OperatorImpl.hpp"
#include "aidge/graph/Node.hpp" #include "aidge/graph/Node.hpp"
#include "aidge/operator/OperatorTensor.hpp" #include "aidge/operator/OperatorTensor.hpp"
#include "aidge/operator/Producer.hpp"
#include "aidge/utils/Registrar.hpp" #include "aidge/utils/Registrar.hpp"
#include "aidge/utils/StaticAttributes.hpp"
#include "aidge/utils/Types.h" #include "aidge/utils/Types.h"
namespace Aidge { namespace Aidge {
......
...@@ -18,7 +18,7 @@ namespace py = pybind11; ...@@ -18,7 +18,7 @@ namespace py = pybind11;
namespace Aidge { namespace Aidge {
void init_Resize(py::module& m) { 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_inputs_name", &Resize_Op::getInputsName)
.def_static("get_outputs_name", &Resize_Op::getOutputsName); .def_static("get_outputs_name", &Resize_Op::getOutputsName);
......
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