Skip to content

Commit

Permalink
[LPT] code style fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
v-Golubev committed Jul 20, 2020
1 parent 188102e commit 237fd51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ClampTransformation : public LayerTransformation, public testing::WithPara
SimpleLowPrecisionTransformer transform;
transform.add<ngraph::pass::low_precision::ClampTransformation, ngraph::opset1::Clamp>(testValues.params);
transform.transform(actualFunction);

referenceFunction = ngraph::builder::subgraph::ClampFunction::getReference(precision,
shape,
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ namespace subgraph {

const std::shared_ptr<ngraph::Node> clamp = std::make_shared<ngraph::op::TypeRelaxed<ngraph::opset1::Clamp>>(parent, 0.0, 10.0);
ngraph::pass::low_precision::NetworkHelper::setOutDataPrecision(clamp, originalFunctionPrecision);

parent = clamp;

if (!values.subtractValues.empty()) {
const std::shared_ptr<ngraph::Node> subtract = std::make_shared<op::TypeRelaxed<ngraph::opset1::Subtract>>(
parent,
Expand Down

0 comments on commit 237fd51

Please sign in to comment.