microsoft / onnxruntime

ONNX Runtime: cross-platform, high performance ML inferencing and training accelerator
https://onnxruntime.ai
MIT License
14.23k stars 2.87k forks source link

[Feature Request] [webgl] hope webgl AveragePool support ceil mode #13984

Open vacing opened 1 year ago

vacing commented 1 year ago

Describe the feature request

Thanks for your great work on web inference. AveragePool's ceil mode is a necessary feature for our model to run on webgl backend, I saw this a TODO feature for a long time, so is there any chance to make up it recnetly

Describe scenario use case

Unet like model, require feature concat from downsampled up layer and upsampled down layer

vacing commented 1 year ago

@fs-eire I noticed you just added pytorch_half_pixel mode to op Resize, hoping you can evalute this feature too, ManyThanks.