Skip to content

Commit

Permalink
GNA add ReorderActivationAndPooling transformation unit tests (#6469)
Browse files Browse the repository at this point in the history
* refactoring code using testing::Combine

* add unnamed namespace to prevent duplicate symbols

* add unnamed namespace to prevent duplicate symbols

* fix createActivation -> createActivationFactory

* code review fixes: align function arguments

* fix centos7 build
  • Loading branch information
evkotov authored Jul 16, 2021
1 parent 39afcb2 commit f48ea5d
Show file tree
Hide file tree
Showing 2 changed files with 387 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <ngraph/opsets/opset7.hpp>
#include <ngraph/pattern/op/or.hpp>
#include <ngraph/pattern/op/wrap_type.hpp>

#include <ngraph/rt_info.hpp>
#include <gna_plugin_log.hpp>

using namespace GNAPluginNS;
Expand Down Expand Up @@ -63,6 +63,7 @@ ReorderActivationAndPooling::ReorderActivationAndPooling() {
}

ngraph::replace_output_update_name(pool_node->output(0), pool_node->input_value(0));
ngraph::copy_runtime_info(pool_node, new_pool);
return true;
};

Expand Down
Loading

0 comments on commit f48ea5d

Please sign in to comment.