There seems to be no built-in mid-pool level support for RNN in Keras. Does anyone know how to wrap it?
http://deeplearning.net/tutorial/lstm.html
Keras has an AveragePooling1D layer for this. If you are using a graphical API, you should do something like:
AveragePooling1D
model.add_node(AveragePooling1D(...), inputs=['h0', 'h1', ..., 'hn'], merge_mode='concat', ...)
Source: https://habr.com/ru/post/1242835/More articles:Avoid double quotes in jQuery inline css - javascriptWhy are the function pointer, function address and function the same? - c ++Check if an item exists in WebBrowser using BackgroundWorker - vb.netWhy did the V8 run out of memory in this situation? - javascriptcheck if HTMLElement exists in the document in the webbrowser control (vb.net) - htmlMultiply each list item by number - pythonLSTM followed by the middle pool - deep-learningLong-term tasks with asynchronous server - pythonWhat are components in Angular 2 - angularThe query parameter in the cloud code does not work after switching to Heroku - javascriptAll Articles