From 4efb98f280e4bd4fb47531cf00c4030059a52ee2 Mon Sep 17 00:00:00 2001
From: idealbuq <iryna.dealbuquerquesilva@cea.fr>
Date: Fri, 27 Sep 2024 15:55:14 +0000
Subject: [PATCH] Removed commented out lines in
 python_binding/data/pybind_Data.cpp

---
 python_binding/data/pybind_Data.cpp | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/python_binding/data/pybind_Data.cpp b/python_binding/data/pybind_Data.cpp
index 5af8d7170..e91f345d7 100644
--- a/python_binding/data/pybind_Data.cpp
+++ b/python_binding/data/pybind_Data.cpp
@@ -56,34 +56,6 @@ void bindEnum(py::module& m, const std::string& name) {
     }, py::prepend());;
 }
 
-// TODO : extend with more values !
-// py::enum_<DataType>(m, "dtype")
-// .value("float64", DataType::Float64)
-// .value("float32", DataType::Float32)
-// .value("float16", DataType::Float16)
-// .value("int8", DataType::Int8)
-// .value("int16", DataType::Int16)
-// .value("int32", DataType::Int32)
-// .value("int64", DataType::Int64)
-// .value("uint8", DataType::UInt8)
-// .value("uint16", DataType::UInt16)
-// .value("uint32", DataType::UInt32)
-// .value("uint64", DataType::UInt64)
-// ;
-
-
-// py::enum_<DataFormat>(m, "dformat")
-// .value("Default", DataFormat::Default)
-// .value("NCHW", DataFormat::NCHW) // default
-// .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");
-
 void init_Data(py::module& m){
     bindEnum<DataType>(m, "dtype");
     bindEnum<DataFormat>(m, "dformat");
-- 
GitLab