Skip to content

Commit

Permalink
fix interval
Browse files Browse the repository at this point in the history
  • Loading branch information
ndemashov committed Sep 5, 2021
1 parent a5e0253 commit 50d20ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ bool ConcatTransformation::transform(TransformationContext& context, ngraph::pat
const auto convert = convertNodes[0]->clone_with_new_inputs({ newConcat });

NetworkHelper::copyInfo({ concat, convert }, convert);
//temp
convert->set_friendly_name(concat->get_friendly_name() + "/DequantizationConvert");
lastDequantization = convert;
}
Expand All @@ -151,6 +152,7 @@ bool ConcatTransformation::transform(TransformationContext& context, ngraph::pat
ngraph::pass::low_precision::fold<ngraph::opset1::Concat>(subtractNodes, 1)));

NetworkHelper::copyInfo({ concat, subtract }, subtract);
//temp
subtract->set_friendly_name(concat->get_friendly_name() + "/DequantizationSubtract");
lastDequantization = subtract;
}
Expand All @@ -165,6 +167,7 @@ bool ConcatTransformation::transform(TransformationContext& context, ngraph::pat
layerDequantizations[0].multiply->get_output_element_type(0));

NetworkHelper::copyInfo({ concat, multiply }, multiply);
//temp
multiply->set_friendly_name(concat->get_friendly_name() + "/DequantizationMultyply");
lastDequantization = multiply;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,15 +257,15 @@ const std::vector<MoveFakeQuantizeTransformationTestValues> testValues = {
{},
{},
"",
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
{},
{}
},
{
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
{},
{},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
{},
{},
"",
Expand All @@ -288,15 +288,15 @@ const std::vector<MoveFakeQuantizeTransformationTestValues> testValues = {
{},
{},
"relu",
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
{},
{}
},
{
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
{},
{},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {255.f}},
{ 256ul, {}, {0.f}, {2.55f}, {0.f}, {2.55f}},
{},
{},
"relu",
Expand Down

0 comments on commit 50d20ef

Please sign in to comment.