Skip to content

Average pooling result_t #1297

Open
Open
@jmitrevs

Description

@jmitrevs

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions