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_mobilenet.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_mobilenet.cpp')
-rw-r--r-- | examples/graph_mobilenet.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/graph_mobilenet.cpp b/examples/graph_mobilenet.cpp index cab578adf2..1aee241746 100644 --- a/examples/graph_mobilenet.cpp +++ b/examples/graph_mobilenet.cpp @@ -272,7 +272,7 @@ private: PadStrideInfo(1U, 1U, 0U, 0U), 1, conv_weights_quant_info.at(1)); } - BranchLayer get_dwsc_node_float(const std::string &data_path, std::string &¶m_path, + ConcatLayer get_dwsc_node_float(const std::string &data_path, std::string &¶m_path, unsigned int conv_filt, PadStrideInfo dwc_pad_stride_info, PadStrideInfo conv_pad_stride_info) { @@ -307,10 +307,10 @@ private: .set_name(total_path + "pointwise/BatchNorm") << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::BOUNDED_RELU, 6.f)).set_name(total_path + "pointwise/Relu6"); - return BranchLayer(std::move(sg)); + return ConcatLayer(std::move(sg)); } - BranchLayer get_dwsc_node_qasymm(const std::string &data_path, std::string &¶m_path, + ConcatLayer get_dwsc_node_qasymm(const std::string &data_path, std::string &¶m_path, const unsigned int conv_filt, PadStrideInfo dwc_pad_stride_info, PadStrideInfo conv_pad_stride_info, QuantizationInfo depth_weights_quant_info, QuantizationInfo point_weights_quant_info) @@ -331,7 +331,7 @@ private: conv_pad_stride_info, 1, point_weights_quant_info) << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::LU_BOUNDED_RELU, 6.f)); - return BranchLayer(std::move(sg)); + return ConcatLayer(std::move(sg)); } }; |