{"action":"created","issue":{"url":"https://api.github.com/repos/fchollet/keras/issues/2658","repository_url":"https://api.github.com/repos/fchollet/keras","labels_url":"https://api.github.com/repos/fchollet/keras/issues/2658/labels{/name}","comments_url":"https://api.github.com/repos/fchollet/keras/issues/2658/comments","events_url":"https://api.github.com/repos/fchollet/keras/issues/2658/events","html_url":"https://github.com/fchollet/keras/pull/2658","id":153639344,"number":2658,"title":"Locally Connected Layer","user":{"login":"joelthchao","id":10974532,"avatar_url":"https://avatars.githubusercontent.com/u/10974532?v=3","gravatar_id":"","url":"https://api.github.com/users/joelthchao","html_url":"https://github.com/joelthchao","followers_url":"https://api.github.com/users/joelthchao/followers","following_url":"https://api.github.com/users/joelthchao/following{/other_user}","gists_url":"https://api.github.com/users/joelthchao/gists{/gist_id}","starred_url":"https://api.github.com/users/joelthchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelthchao/subscriptions","organizations_url":"https://api.github.com/users/joelthchao/orgs","repos_url":"https://api.github.com/users/joelthchao/repos","events_url":"https://api.github.com/users/joelthchao/events{/privacy}","received_events_url":"https://api.github.com/users/joelthchao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-08T06:23:48Z","updated_at":"2016-05-17T07:52:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fchollet/keras/pulls/2658","html_url":"https://github.com/fchollet/keras/pull/2658","diff_url":"https://github.com/fchollet/keras/pull/2658.diff","patch_url":"https://github.com/fchollet/keras/pull/2658.patch"},"body":"As #2589 proposed, locally connected layer has been used in [DeepFace](https://www.cs.toronto.edu/~ranzato/publications/taigman_cvpr14.pdf) and Alex's cifar-10 [implementation](https://code.google.com/p/cuda-convnet/source/browse/trunk/example-layers/layers-conv-local-11pct.cfg). I think it would be a plus to support this layer in Keras.\r\nAlso, I added an example which try to reproduce Alex's cifar-10 network using this layer.\r\n"},"comment":{"url":"https://api.github.com/repos/fchollet/keras/issues/comments/219644929","html_url":"https://github.com/fchollet/keras/pull/2658#issuecomment-219644929","issue_url":"https://api.github.com/repos/fchollet/keras/issues/2658","id":219644929,"user":{"login":"joelthchao","id":10974532,"avatar_url":"https://avatars.githubusercontent.com/u/10974532?v=3","gravatar_id":"","url":"https://api.github.com/users/joelthchao","html_url":"https://github.com/joelthchao","followers_url":"https://api.github.com/users/joelthchao/followers","following_url":"https://api.github.com/users/joelthchao/following{/other_user}","gists_url":"https://api.github.com/users/joelthchao/gists{/gist_id}","starred_url":"https://api.github.com/users/joelthchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelthchao/subscriptions","organizations_url":"https://api.github.com/users/joelthchao/orgs","repos_url":"https://api.github.com/users/joelthchao/repos","events_url":"https://api.github.com/users/joelthchao/events{/privacy}","received_events_url":"https://api.github.com/users/joelthchao/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T07:52:52Z","updated_at":"2016-05-17T07:52:52Z","body":"**UPDATE**: Parallel `dot` in different position (patch) by `batch_dot` with reduction of 40% computation time on Alex's implement (heavily depends on configuration of layer).\r\nP.S. experiment on TensorFlow."}}