diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-08-28 13:32:02 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 427bbbf939a37150fd6768c29c9753771806dab3 (patch) | |
tree | 9e0761046e2e0d0f960cffeef3fa8e9634ef3426 /examples/graph_googlenet.cpp | |
parent | ea9e0dc18c408fecb6dc482b774bd900dd321610 (diff) | |
download | ComputeLibrary-427bbbf939a37150fd6768c29c9753771806dab3.tar.gz |
COMPMID-1522: Add ElementWiseOperation node in the graph API
Change-Id: Icb428bf3b5d3634fdddc57562cce670776e7f7a3
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145814
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'examples/graph_googlenet.cpp')
-rw-r--r-- | examples/graph_googlenet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/graph_googlenet.cpp b/examples/graph_googlenet.cpp index cdbb8d8f2b..f6aad5d3e8 100644 --- a/examples/graph_googlenet.cpp +++ b/examples/graph_googlenet.cpp @@ -145,7 +145,7 @@ private: CommonGraphParams common_params; Stream graph; - BranchLayer get_inception_node(const std::string &data_path, std::string &¶m_path, DataLayout weights_layout, + ConcatLayer get_inception_node(const std::string &data_path, std::string &¶m_path, DataLayout weights_layout, unsigned int a_filt, std::tuple<unsigned int, unsigned int> b_filters, std::tuple<unsigned int, unsigned int> c_filters, @@ -197,7 +197,7 @@ private: PadStrideInfo(1, 1, 0, 0)) << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::RELU)); - return BranchLayer(BranchMergeMethod::DEPTH_CONCATENATE, std::move(i_a), std::move(i_b), std::move(i_c), std::move(i_d)); + return ConcatLayer(std::move(i_a), std::move(i_b), std::move(i_c), std::move(i_d)); } }; |