Skip to content

Commit

Permalink
remove random operation
Browse files Browse the repository at this point in the history
  • Loading branch information
okdshin committed Sep 5, 2018
1 parent 7df4100 commit 2505cfe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions menoh/onnx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <fstream>
#include <functional>
#include <numeric>
#include <random>
#include <unordered_map>
#include <utility>

Expand Down Expand Up @@ -202,10 +201,6 @@ namespace menoh_impl {
trim_dropout(node_list);
trim_reshape(node_list);

std::random_device rd;
std::mt19937 g(rd());
std::shuffle(node_list.begin(), node_list.end(), g);

std::vector<std::string> all_parameter_name_list;
all_parameter_name_list.reserve(
onnx_model.graph().initializer().size());
Expand Down

0 comments on commit 2505cfe

Please sign in to comment.