Unverified Commit dcc56cc4 authored by Adam Osewski's avatar Adam Osewski Committed by GitHub

Replace addition operator with explicit call to v1:Add (#4397)

Co-authored-by: 's avatarScott Cyphers <diyessi@users.noreply.github.com>
parent 066ec4c6
......@@ -79,7 +79,8 @@ namespace ngraph
variance = ngraph::builder::opset1::make_broadcast(
variance, data_shape, reduction_axes);
const auto sqrt = std::make_shared<default_opset::Sqrt>(variance + eps_node);
const auto sqrt = std::make_shared<default_opset::Sqrt>(
std::make_shared<default_opset::Add>(variance, eps_node));
// scale * (data - mean) / sqrt + bias
std::shared_ptr<ngraph::Node> result{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment