Commit 32bd592e authored by nishant.b.patel's avatar nishant.b.patel

Temp prints in ref conv

parent ec295e44
......@@ -241,8 +241,10 @@ namespace ngraph
if (is_quantized)
{
float scale = *input_scale * *filter_scale / *output_scale;
float x = static_cast<float>(result) * scale;
out[out_transform.index(out_coord)] =
static_cast<OUTPUT>(result * scale + *output_zero_point);
static_cast<OUTPUT>(x + *output_zero_point);
std::cout<<std::setprecision(10)<<x << " + " <<unsigned(*output_zero_point) << " = "<< unsigned(static_cast<OUTPUT>(x + *output_zero_point))<<std::endl;
}
else
{
......
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