Skip to content

Commit

Permalink
[record-minmax] Tidy RecordMinMax (#14267)
Browse files Browse the repository at this point in the history
This tidies RecordMinMax source code.
- Remove unused code
- Use proper test name

ONE-DCO-1.0-Signed-off-by: Hyukjin Jeong <[email protected]>
  • Loading branch information
jinevening authored Oct 29, 2024
1 parent 1a3007c commit 00dc8a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 430 deletions.
8 changes: 4 additions & 4 deletions compiler/record-minmax/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ set(TEST_SOURCES
file(GLOB_RECURSE TESTS "tests/*.test.cpp")

nnas_find_package(GTest REQUIRED)
GTest_AddTest(record_minmax_function_test ${TESTS} ${TEST_SOURCES})
target_include_directories(record_minmax_function_test PRIVATE include)
target_link_libraries(record_minmax_function_test luci_lang)
target_link_libraries(record_minmax_function_test nncc_coverage)
GTest_AddTest(record_minmax_unittest ${TESTS} ${TEST_SOURCES})
target_include_directories(record_minmax_unittest PRIVATE include)
target_link_libraries(record_minmax_unittest luci_lang)
target_link_libraries(record_minmax_unittest nncc_coverage)
9 changes: 0 additions & 9 deletions compiler/record-minmax/include/RecordMinMax.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@ class RecordMinMax

void profileDataInParallel(const std::string &input_data_path);

// TODO Remove unused code
#if 0
void profileRawData(const std::string &input_data_path);

void profileRawDataDirectory(const std::string &input_data_path);

void profileDataWithRandomInputs(void);
#endif

void saveModel(const std::string &output_model_path);

private:
Expand Down
Loading

0 comments on commit 00dc8a9

Please sign in to comment.