Skip to content

Default stride for pooling functions #2023

Answered by marcvanzee
dogeplusplus asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for bringing this up!

Update 25 Apr, 2022: #2064 adds default stride to the docstring of pooling.
We should document these defaults in our docstring, because right now we don't, which is very odd actually: https://github.com/google/flax/blob/main/flax/linen/pooling.py#L36

I took a brief look at other frameworks for max_pool:

I actually don't know why we chose this default, it does seem a bit surprising if you come fro…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by marcvanzee
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants