diff --git a/python_binding/data/pybind_Data.cpp b/python_binding/data/pybind_Data.cpp index b1e879d8387a71a3819ee7e0f8bbcd1e9936c146..cdf8cc23250366c62a4102118a95e68cec28ec3d 100644 --- a/python_binding/data/pybind_Data.cpp +++ b/python_binding/data/pybind_Data.cpp @@ -10,6 +10,7 @@ ********************************************************************************/ #include <pybind11/pybind11.h> +#include <pybind11/stl.h> #include "aidge/data/Data.hpp" @@ -65,6 +66,7 @@ void init_Data(py::module& m){ m.def("format_as", (const char* (*)(DataType)) &format_as, py::arg("dt")); m.def("format_as", (const char* (*)(DataFormat)) &format_as, py::arg("df")); + m.def("get_data_format_transpose", &getDataFormatTranspose, py::arg("src"), py::arg("dst")); } }