You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. If this is just for your own use, I can suggest the following: Make a copy of the "pooling.py" file in your local python directory, and rename it to something like "custom_pooling.py" . It will have all the needed module imports - check in this link: https://github.com/fchollet/keras/tree/master/keras/layers
Then, select the pooling class that is closest to what you want to implement and rename it to
"class RMS_Pooling1D(Layer):" etc. When you are ready, just import this class like any other layer. I created my own layer in a similar way. I hope this helps. Thanks.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 30 days if no further activity occurs, but feel free to re-open a closed issue if needed.
I implement a convolution neural network on Keras with Theano backend. And I want to change pooling function to RMS (Root Mean Square) function.
How to change a pooling function to custom function?
The text was updated successfully, but these errors were encountered: