diff --git a/dnnlibrary/CMakeLists.txt b/dnnlibrary/CMakeLists.txt index 8e05e28..d864a49 100644 --- a/dnnlibrary/CMakeLists.txt +++ b/dnnlibrary/CMakeLists.txt @@ -6,7 +6,6 @@ set(dnnlibrary_src ${PROJECT_SOURCE_DIR}/include/dnnlibrary/DaqReader.h ${PROJECT_SOURCE_DIR}/include/dnnlibrary/nnapi_implementation.h android_log_helper.h - operand_helper.h flatbuffers_helper.h ModelBuilder.cpp ModelBuilderImpl.cpp diff --git a/dnnlibrary/ModelBuilder.cpp b/dnnlibrary/ModelBuilder.cpp index be13609..8a524dd 100644 --- a/dnnlibrary/ModelBuilder.cpp +++ b/dnnlibrary/ModelBuilder.cpp @@ -17,7 +17,6 @@ #include #include #include -#include #include namespace dnn { diff --git a/dnnlibrary/operand_helper.h b/dnnlibrary/operand_helper.h deleted file mode 100644 index 734ae80..0000000 --- a/dnnlibrary/operand_helper.h +++ /dev/null @@ -1,45 +0,0 @@ -// -// Created by daquexian on 7/24/18. -// - -#ifndef PROJECT_OPERAND_HELPER_H -#define PROJECT_OPERAND_HELPER_H - -#include -#include - -/* -#define ADD_OPERANDS(...) \ -template \ -std::tuple t(__VA_ARGS__) - -template -void addOperand(const Tuple &tuple) { - addOperand(tuple); -} - -template -void addOperand(const Tuple &tuple) { -}; - -template -class DefineOperands { - std::tuple t; - - explicit DefineOperands(Args&... args): t(args) { - - } -}; - */ - -template -void addOperand2(const std::tuple &tuple) { - std::apply([](const auto &item) { std::cout << item << std::endl; }, tuple); -} - -template -void print_tuple(const std::tuple &tuple) { - std::apply([](const auto &... item) { ((std::cout << item << '\n'), ...); }, - tuple); -} -#endif // PROJECT_OPERAND_HELPER_H