This commit changes the rounding policy of MUL from TO_ZERO to TO_NEAREST_EVEN.
If the rounding policy is TO_NEAREST_EVEN, it is most similar to the result of the TFLITE interpreter.
Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
fn->configure(lhs_input_alloc, rhs_input_alloc, output_alloc,
1.0, // scale
- arm_compute::ConvertPolicy::SATURATE, arm_compute::RoundingPolicy::TO_ZERO);
+ arm_compute::ConvertPolicy::SATURATE,
+ arm_compute::RoundingPolicy::TO_NEAREST_EVEN);
builder.append("Mul", std::move(fn));