Commit db7ecdcc authored by Nishant Patel's avatar Nishant Patel Committed by Robert Kimball

Fix how the bias reorder scale is passed (#2249)

parent d31bd67a
......@@ -174,7 +174,8 @@ namespace ngraph
std::numeric_limits<uint8_t>::max() *
std::numeric_limits<int8_t>::max());
return range / (max_abs_input_range * max_abs_filter_range);
// Inverting the scale calculation here as the Quantize op passes scale as 1/scale.
return (max_abs_input_range * max_abs_filter_range) / range;
}
std::shared_ptr<Node> get_sum_scale(std::shared_ptr<Node> min_freezed_output_conv_1,
......
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