Skip to content

Fix description and formula in pooling operations #449

Description

@zolkis

Originally posted by @shiyi9801 in #446 (comment)

What is filter size in pooling operations, do you mean window_size?
Also this equation seems wrong. Referring to conv2d operation, I guess the correct equation looks like this?
output_size = ceil(1 + (input_size - (window_size - 1) * dilation - 1 + beginning_padding + ending_padding) / stride)
So as floor.
See the Returns section in https://webmachinelearning.github.io/webnn/#api-mlgraphbuilder-pool2d

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions