diff options
Diffstat (limited to 'examples/graph_resnet_v2_50.cpp')
-rw-r--r-- | examples/graph_resnet_v2_50.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/graph_resnet_v2_50.cpp b/examples/graph_resnet_v2_50.cpp index 704e0e420e..03c21ac719 100644 --- a/examples/graph_resnet_v2_50.cpp +++ b/examples/graph_resnet_v2_50.cpp @@ -228,7 +228,7 @@ private: PadStrideInfo(1, 1, 0, 0)) .set_name(unit_name + "conv3/convolution"); - graph << BranchLayer(BranchMergeMethod::ADD, std::move(shortcut), std::move(residual)).set_name(unit_name + "add"); + graph << EltwiseLayer(std::move(shortcut), std::move(residual), EltwiseOperation::Add).set_name(unit_name + "add"); } } }; |