Skip to content

Commit

Permalink
[tfl-inspect] Use standard library (Samsung#3322)
Browse files Browse the repository at this point in the history
This commit makes tfl-inspect use standard library

ONE-DCO-1.0-Signed-off-by: seongwoo <[email protected]>
  • Loading branch information
mhs4670go authored Jul 21, 2020
1 parent a09411c commit 189b8a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion compiler/tfl-inspect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ target_link_libraries(tfl-inspect arser)
target_link_libraries(tfl-inspect foder)
target_link_libraries(tfl-inspect mio_tflite)
target_link_libraries(tfl-inspect safemain)
target_link_libraries(tfl-inspect stdex)
8 changes: 4 additions & 4 deletions compiler/tfl-inspect/driver/Driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

#include <arser/arser.h>
#include <foder/FileLoader.h>
#include <stdex/Memory.h>

#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <vector>
#include <string>

Expand Down Expand Up @@ -58,11 +58,11 @@ int entry(int argc, char **argv)
std::vector<std::unique_ptr<tflinspect::DumpInterface>> dumps;

if (arser["--operators"])
dumps.push_back(stdex::make_unique<tflinspect::DumpOperators>());
dumps.push_back(std::make_unique<tflinspect::DumpOperators>());
if (arser["--conv2d_weight"])
dumps.push_back(stdex::make_unique<tflinspect::DumpConv2DWeight>());
dumps.push_back(std::make_unique<tflinspect::DumpConv2DWeight>());
if (arser["--op_version"])
dumps.push_back(stdex::make_unique<tflinspect::DumpOperatorVersion>());
dumps.push_back(std::make_unique<tflinspect::DumpOperatorVersion>());

std::string model_file = arser.get<std::string>("tflite");

Expand Down
1 change: 0 additions & 1 deletion compiler/tfl-inspect/requires.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ require("arser")
require("foder")
require("mio-tflite")
require("safemain")
require("stdex")

0 comments on commit 189b8a1

Please sign in to comment.