{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/2316","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/2316/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/2316/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/2316/events","html_url":"https://github.com/BVLC/caffe/issues/2316","id":68793974,"number":2316,"title":"Global pooling layer","user":{"login":"PiranjaF","id":9516330,"avatar_url":"https://avatars.githubusercontent.com/u/9516330?v=3","gravatar_id":"","url":"https://api.github.com/users/PiranjaF","html_url":"https://github.com/PiranjaF","followers_url":"https://api.github.com/users/PiranjaF/followers","following_url":"https://api.github.com/users/PiranjaF/following{/other_user}","gists_url":"https://api.github.com/users/PiranjaF/gists{/gist_id}","starred_url":"https://api.github.com/users/PiranjaF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PiranjaF/subscriptions","organizations_url":"https://api.github.com/users/PiranjaF/orgs","repos_url":"https://api.github.com/users/PiranjaF/repos","events_url":"https://api.github.com/users/PiranjaF/events{/privacy}","received_events_url":"https://api.github.com/users/PiranjaF/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-15T21:46:01Z","updated_at":"2015-04-15T22:26:34Z","closed_at":"2015-04-15T22:26:34Z","body":"Does Caffe has a global pooling layer such as mentioned in http://benanne.github.io/2014/08/05/spotify-cnns.html? (search for global temporal pooling layer).\r\n\r\nIt's very useful as Caffe expands to other datatypes than images, where the position isn't relevant. From the article: \"This layer pools across the entire time axis, effectively computing statistics of the learned features across time. I included three different pooling functions: the mean, the maximum and the L2-norm.\"\r\n\r\nI guess that it isn't implemented. How difficult would it be for me to implement? Could you give me a few pointers on where to start?"},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/93586762","html_url":"https://github.com/BVLC/caffe/issues/2316#issuecomment-93586762","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/2316","id":93586762,"user":{"login":"shelhamer","id":311113,"avatar_url":"https://avatars.githubusercontent.com/u/311113?v=3","gravatar_id":"","url":"https://api.github.com/users/shelhamer","html_url":"https://github.com/shelhamer","followers_url":"https://api.github.com/users/shelhamer/followers","following_url":"https://api.github.com/users/shelhamer/following{/other_user}","gists_url":"https://api.github.com/users/shelhamer/gists{/gist_id}","starred_url":"https://api.github.com/users/shelhamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelhamer/subscriptions","organizations_url":"https://api.github.com/users/shelhamer/orgs","repos_url":"https://api.github.com/users/shelhamer/repos","events_url":"https://api.github.com/users/shelhamer/events{/privacy}","received_events_url":"https://api.github.com/users/shelhamer/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T22:26:34Z","updated_at":"2015-04-15T22:26:34Z","body":"Done in #1214. There is a [global pooling switch](https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto#L650-L652) in the `PoolingLayer` configuration. Check [caffe.proto](https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto) for all of the configuration options."}}