Skip to content
Snippets Groups Projects
Commit ab7fd914 authored by Wissam Boussella's avatar Wissam Boussella
Browse files

add pybind

parent 199f08e4
No related branches found
No related tags found
No related merge requests found
Pipeline #68179 failed
......@@ -67,6 +67,7 @@ void init_DataFormat(py::module& m) {
bindEnum<DataFormat>(m, "dformat");
m.def("format_as", (const char* (*)(DataFormat)) &format_as, py::arg("df"));
m.def("get_permutation_mapping", &getPermutationMapping, py::arg("src"), py::arg("dst"));
m.def("get_transpose_output_data_format", &getTransposeOutputDataFormat, py::arg("inputDataFormat"), py::arg("outputDimsOrder"));
}
} // namespace Aidge
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