-
Notifications
You must be signed in to change notification settings - Fork 91
Poolings #214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Poolings #214
Conversation
@milancurcic just a brief question: if maxpool2d requires input3d this means that I can't write a maxpool3d without an input4d? (Which of course I'm not going to implement) |
I don't know. What input rank does maxpool3d need and what does it output? |
Yes I noticed I shouldn't have written it. Maxpool3d requires a input4d and outputs a 4d array |
I think that's correct. For maxpool2d naming I merely followed an existing convention (in Keras I think) where 2d refers to pooling over 2d, with an extra dimension for channels. If we follow the same for maxpool3d, it would be for 4d total, as you write. However I'm not familiar with applications that pool over 3d, so I leave it to you to determine if this is a common/needed use case. |
I may be wrong, but I fear that in neural-fortran you called maxpool1d what in tensorflow is called maxpool2d (https://www.tensorflow.org/api_docs/python/tf/keras/layers/MaxPool2D) and neural-fortran's maxpool2d is tensorflow's maxpool3d. In this way, we have no tensorflow's maxpool1d. Can you please have a look? I'm not sure of this |
I think I understand the confusion now. The naming is consistent with Keras. What makes it seem inconsistent is that in neural-fortran From the above linked docs:
This means that Keras's |
Hello. Any updates from your side? Sorry for not having given progresses but these days i'm very busy. |
Thanks @ricor07 for the effort so far and no rush. Whenever you have time. I've been busy with travel past week or so but am otherwise focused on reviewing other open PRs. Is there something specific about this one that you'd like me to look at? In general I don't review PRs until they're marked ready for review (i.e. not a draft). |
Starting to create PR. Still a stage 0 draft