Skip to content
Snippets Groups Projects
Commit 54bd6b0d authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Remove duplicate binding of dformat.

parent 7ce2a2ef
No related branches found
No related tags found
3 merge requests!279v0.4.0,!253v0.4.0,!163Export refactor
......@@ -60,16 +60,6 @@ void init_Data(py::module& m){
bindEnum<DataType>(m, "dtype");
bindEnum<DataFormat>(m, "dformat");
py::enum_<DataFormat>(m, "dformat")
.value("Default", DataFormat::Default)
.value("NCHW", DataFormat::NCHW)
.value("NHWC", DataFormat::NHWC)
.value("CHWN", DataFormat::CHWN)
.value("NCDHW", DataFormat::NCDHW)
.value("NDHWC", DataFormat::NDHWC)
.value("CDHWN", DataFormat::CDHWN)
;
py::class_<Data, std::shared_ptr<Data>>(m,"Data");
......
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