diff --git a/python_binding/operator/pybind_GenericOperator.cpp b/python_binding/operator/pybind_GenericOperator.cpp index a077ac3d2f3f45669ee78a4ecfb86e648845409b..2b146c768003fa825b2cf6cacf88c6767c567a66 100644 --- a/python_binding/operator/pybind_GenericOperator.cpp +++ b/python_binding/operator/pybind_GenericOperator.cpp @@ -52,6 +52,6 @@ void init_GenericOperator(py::module& m) { } return genericNode; } - , py::arg("type"), py::arg("nb_data"), py::arg("nb_param"), py::arg("nb_out"), py::arg("name") = "", py::kw_only()); + , py::arg("type"), py::arg("nb_data"), py::arg("nb_param"), py::arg("nb_out"), py::arg("name") = ""); } } // namespace Aidge diff --git a/python_binding/operator/pybind_Producer.cpp b/python_binding/operator/pybind_Producer.cpp index 7c307ce88b543516ebda7d47c61441c01219b8ae..3caa438d18b3919dbedcf66e4ba53b92b84a50b5 100644 --- a/python_binding/operator/pybind_Producer.cpp +++ b/python_binding/operator/pybind_Producer.cpp @@ -37,7 +37,7 @@ void init_Producer(py::module &m) { .def("dims", &Producer_Op::dims) .def("get_inputs_name", &Producer_Op::getInputsName) .def("get_outputs_name", &Producer_Op::getOutputsName) - .def("attributes_name", &Producer_Op<DIM>::staticGetAttrsName); + .def("attributes_name", &Producer_Op::staticGetAttrsName); m.def("Producer", static_cast<std::shared_ptr<Node>(*)(const std::shared_ptr<Tensor>, const std::string&, bool)>(&Producer), py::arg("tensor"), py::arg("name") = "", py::arg("constant") = false); declare_Producer<1>(m);