diff --git a/src/relay/qnn/op/add.cc b/src/relay/qnn/op/add.cc index 25a34dc4faeb9..dd8779b5c222d 100644 --- a/src/relay/qnn/op/add.cc +++ b/src/relay/qnn/op/add.cc @@ -74,12 +74,12 @@ Expr QnnAddCanonicalize(const Attrs& attrs, const Array& new_args, auto requantized_lhs = Requantize(args.lhs, input_type.shape, real_lhs_scale, args.lhs_zero_point, itmd_out_scale, itmd_zero_point, - DataType::Int(32)); + DataType::Int(32), rounding); auto requantized_rhs = Requantize(args.rhs, input_type.shape, real_rhs_scale, args.rhs_zero_point, itmd_out_scale, itmd_zero_point, - DataType::Int(32)); + DataType::Int(32), rounding); output = Add(requantized_lhs, requantized_rhs); output = Requantize(output, input_type.shape,