aboutsummaryrefslogtreecommitdiff
path: root/examples/graph_mobilenet_v2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/graph_mobilenet_v2.cpp')
-rw-r--r--examples/graph_mobilenet_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graph_mobilenet_v2.cpp b/examples/graph_mobilenet_v2.cpp
index 9ea2ec0c5b..44061809bf 100644
--- a/examples/graph_mobilenet_v2.cpp
+++ b/examples/graph_mobilenet_v2.cpp
@@ -226,7 +226,7 @@ private:
{
// Add residual node
SubStream right(graph);
- graph << BranchLayer(BranchMergeMethod::ADD, std::move(left), std::move(right)).set_name(param_path + "/add");
+ graph << EltwiseLayer(std::move(left), std::move(right), EltwiseOperation::Add).set_name(param_path + "/add");
}
else
{