Commit bc3d9191 authored by nishant.b.patel's avatar nishant.b.patel

onnx rt test working, remove prints

parent 32bd592e
......@@ -241,10 +241,8 @@ 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>(x + *output_zero_point);
std::cout<<std::setprecision(10)<<x << " + " <<unsigned(*output_zero_point) << " = "<< unsigned(static_cast<OUTPUT>(x + *output_zero_point))<<std::endl;
out[out_transform.index(out_coord)] = static_cast<OUTPUT>(
std::round(static_cast<float>(result) * scale) + *output_zero_point);
}
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