Open
Description
Quick summary
Currently all poolings set the result_t
to the input precision if auto
. While this makes sense for MaxPooling, I think it would be preferrable if result_t
is made to match accum_t
for AvgPooling, which is suitably widened. Currently, average pooling can introduce an unexpected truncation. (I would at least use rounding by default if you wanted to keep the same precision.)