I analyzed the output results. When the results are inconsistent, the inference 
results of tvm are always different from the results of pytorch by a value of 
scale size, so I suspect that pytorch's adaptive_avg_pool2d will round the 
results, while tvm directly discards the decimal part, When rounding is 
encountered and when a carry is required, the result of tvm will be smaller 
than pytorch by a value of scale size.

@masahi What's your opinion on this issue?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/pytorch-the-inference-results-of-tvm-and-pytorch-are-inconsistent/12048/2)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/8bfcbe3ac0130bdc93904db8e54e9584818b4f7c75e591be08eb257b03cde69d).

Reply via email to