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