From e428f1237e6676afed0c889311f3b697b6db67e6 Mon Sep 17 00:00:00 2001 From: NAUD Maxence <maxence.naud@cea.fr> Date: Tue, 27 Feb 2024 10:05:37 +0000 Subject: [PATCH] [Add][fix] Attributes as base class for Reshpae_Op in python binding --- python_binding/operator/pybind_Reshape.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_binding/operator/pybind_Reshape.cpp b/python_binding/operator/pybind_Reshape.cpp index d34a411c7..b3e9850a5 100644 --- a/python_binding/operator/pybind_Reshape.cpp +++ b/python_binding/operator/pybind_Reshape.cpp @@ -18,7 +18,7 @@ namespace py = pybind11; namespace Aidge { void init_Reshape(py::module& m) { - py::class_<Reshape_Op, std::shared_ptr<Reshape_Op>, OperatorTensor>(m, "ReshapeOp", py::multiple_inheritance()) + py::class_<Reshape_Op, std::shared_ptr<Reshape_Op>, Attributes, OperatorTensor>(m, "ReshapeOp", py::multiple_inheritance()) .def("get_inputs_name", &Reshape_Op::getInputsName) .def("get_outputs_name", &Reshape_Op::getOutputsName); -- GitLab