tensorflow / tensorflow

An Open Source Machine Learning Framework for Everyone
https://tensorflow.org
Apache License 2.0
185.8k stars 74.22k forks source link

Dynamic ksize and strides with AvgPool #26961

Closed davideh29-portfolio closed 2 months ago

davideh29-portfolio commented 5 years ago

Please make sure that this is a feature request. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:feature_template

System information

Describe the feature and the current behavior/state. Adding an AvgPoolV2 with dynamic ksize, much like MaxPoolV2. This is very related to issue #11875

Will this change the current api? How? It would add a new function gen_nn_ops.avg_pool_v2

Who will benefit with this feature? Anybody looking to use an average pooling layer with dynamic ksize. For example, when running a graph with an input of an unspecified size when the ksize is dependent on the size of the input

Any Other info.

tamaranorman commented 5 years ago

Sorry I don't have enough experience here, you need someone who has worked on the ops, I have only touched the python layer on top.

tanzhenyu commented 5 years ago

I can work on this, but re-defining op kernels sounds a very cool thing to do, @davideh29-portfolio do you want to contribute?

Siddhant7 commented 4 years ago

Any update on this?

edwardyehuang commented 3 years ago

We need dynamic stride support for avgpool

olgarithmics commented 2 years ago

Are there any updates on this issue?

tilakrayal commented 3 months ago

Hi,

Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.

The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.

Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.

Thank you!

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further.