diff --git a/python_binding/operator/pybind_GlobalAveragePooling.cpp b/python_binding/operator/pybind_GlobalAveragePooling.cpp index 26b36fa800db554891066104b15966fdff858081..fcbd31a9ae6486ad36f8efca32d748476a32eaae 100644 --- a/python_binding/operator/pybind_GlobalAveragePooling.cpp +++ b/python_binding/operator/pybind_GlobalAveragePooling.cpp @@ -20,11 +20,11 @@ namespace Aidge { void init_GlobalAveragePooling(py::module &m) { py::class_<GlobalAveragePooling_Op, std::shared_ptr<GlobalAveragePooling_Op>, - OperatorTensor, Attributes>(m, "GlobalAveragePooling", - py::multiple_inheritance()) + OperatorTensor>(m, "GlobalAveragePooling", + py::multiple_inheritance()) .def("get_inputs_name", &GlobalAveragePooling_Op::getInputsName) .def("get_outputs_name", &GlobalAveragePooling_Op::getOutputsName); - m.def("Globalaveragepooling", &Globalaveragepooling, py::arg("name") = ""); + m.def("globalaveragepooling", &GlobalAveragePooling, py::arg("name") = ""); } } // namespace Aidge