Skip to content
Snippets Groups Projects
Commit 79bcb678 authored by Axel Farrugia's avatar Axel Farrugia
Browse files

feat : Binding of get_data_format_transpose()

parent 94c3fa62
No related branches found
No related tags found
2 merge requests!279v0.4.0,!250[Feat](Exports) Add custom options to exports
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
********************************************************************************/ ********************************************************************************/
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "aidge/data/Data.hpp" #include "aidge/data/Data.hpp"
...@@ -65,6 +66,7 @@ void init_Data(py::module& m){ ...@@ -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* (*)(DataType)) &format_as, py::arg("dt"));
m.def("format_as", (const char* (*)(DataFormat)) &format_as, py::arg("df")); 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"));
} }
} }
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