{"action":"created","comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/76514879","id":76514879,"diff_hunk":"@@ -661,6 +663,109 @@ def _make_tf_features(self, input_feat):\n       freq_inputs.append(cur_input)\n     return freq_inputs\n \n+class ESNCell(rnn_cell.RNNCell):\n+  \"\"\"Echo State Network Cell.\n+\n+    Based on http://www.faculty.jacobs-university.de/hjaeger/pubs/EchoStatesTechRep.pdf\n+    It doesn't consider output feedback, specifically it models just the reservoir.\n+\n+    Here a practical guide to use Echo State Networks:\n+    http://minds.jacobs-university.de/sites/default/files/uploads/papers/PracticalESN.pdf","path":"tensorflow/contrib/rnn/python/ops/rnn_cell.py","position":22,"original_position":22,"commit_id":"f9c78e0f29d53a5635847a653a073d26dc010a50","original_commit_id":"f9c78e0f29d53a5635847a653a073d26dc010a50","user":{"login":"m-colombo","id":8291084,"avatar_url":"https://avatars.githubusercontent.com/u/8291084?v=3","gravatar_id":"","url":"https://api.github.com/users/m-colombo","html_url":"https://github.com/m-colombo","followers_url":"https://api.github.com/users/m-colombo/followers","following_url":"https://api.github.com/users/m-colombo/following{/other_user}","gists_url":"https://api.github.com/users/m-colombo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-colombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-colombo/subscriptions","organizations_url":"https://api.github.com/users/m-colombo/orgs","repos_url":"https://api.github.com/users/m-colombo/repos","events_url":"https://api.github.com/users/m-colombo/events{/privacy}","received_events_url":"https://api.github.com/users/m-colombo/received_events","type":"User","site_admin":false},"body":"There's no guarantees on those links lifetime, unfortunately on arxiv I didn't find paper introducing esn, just using them.\r\n","created_at":"2016-08-27T11:41:50Z","updated_at":"2016-08-27T11:41:50Z","html_url":"https://github.com/tensorflow/tensorflow/pull/3604#discussion_r76514879","pull_request_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604","_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments/76514879"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/3604#discussion_r76514879"},"pull_request":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604"}}},"pull_request":{"url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604","id":79648964,"html_url":"https://github.com/tensorflow/tensorflow/pull/3604","diff_url":"https://github.com/tensorflow/tensorflow/pull/3604.diff","patch_url":"https://github.com/tensorflow/tensorflow/pull/3604.patch","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3604","number":3604,"state":"open","locked":false,"title":"Added esn cell","user":{"login":"m-colombo","id":8291084,"avatar_url":"https://avatars.githubusercontent.com/u/8291084?v=3","gravatar_id":"","url":"https://api.github.com/users/m-colombo","html_url":"https://github.com/m-colombo","followers_url":"https://api.github.com/users/m-colombo/followers","following_url":"https://api.github.com/users/m-colombo/following{/other_user}","gists_url":"https://api.github.com/users/m-colombo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-colombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-colombo/subscriptions","organizations_url":"https://api.github.com/users/m-colombo/orgs","repos_url":"https://api.github.com/users/m-colombo/repos","events_url":"https://api.github.com/users/m-colombo/events{/privacy}","received_events_url":"https://api.github.com/users/m-colombo/received_events","type":"User","site_admin":false},"body":"I wrote an Echo State Network cell for my personal need, hope that this can be useful to someone else. I tried to be compliant with the project coding style, let me know if I missed something","created_at":"2016-08-01T22:39:30Z","updated_at":"2016-08-27T11:41:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f201edeeb8874f6b2fae3b999781839406042acb","assignee":{"login":"ebrevdo","id":1794715,"avatar_url":"https://avatars.githubusercontent.com/u/1794715?v=3","gravatar_id":"","url":"https://api.github.com/users/ebrevdo","html_url":"https://github.com/ebrevdo","followers_url":"https://api.github.com/users/ebrevdo/followers","following_url":"https://api.github.com/users/ebrevdo/following{/other_user}","gists_url":"https://api.github.com/users/ebrevdo/gists{/gist_id}","starred_url":"https://api.github.com/users/ebrevdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebrevdo/subscriptions","organizations_url":"https://api.github.com/users/ebrevdo/orgs","repos_url":"https://api.github.com/users/ebrevdo/repos","events_url":"https://api.github.com/users/ebrevdo/events{/privacy}","received_events_url":"https://api.github.com/users/ebrevdo/received_events","type":"User","site_admin":false},"assignees":[{"login":"ebrevdo","id":1794715,"avatar_url":"https://avatars.githubusercontent.com/u/1794715?v=3","gravatar_id":"","url":"https://api.github.com/users/ebrevdo","html_url":"https://github.com/ebrevdo","followers_url":"https://api.github.com/users/ebrevdo/followers","following_url":"https://api.github.com/users/ebrevdo/following{/other_user}","gists_url":"https://api.github.com/users/ebrevdo/gists{/gist_id}","starred_url":"https://api.github.com/users/ebrevdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebrevdo/subscriptions","organizations_url":"https://api.github.com/users/ebrevdo/orgs","repos_url":"https://api.github.com/users/ebrevdo/repos","events_url":"https://api.github.com/users/ebrevdo/events{/privacy}","received_events_url":"https://api.github.com/users/ebrevdo/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604/commits","review_comments_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604/comments","review_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/3604/comments","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/f9c78e0f29d53a5635847a653a073d26dc010a50","head":{"label":"m-colombo:added-ESNCell","ref":"added-ESNCell","sha":"f9c78e0f29d53a5635847a653a073d26dc010a50","user":{"login":"m-colombo","id":8291084,"avatar_url":"https://avatars.githubusercontent.com/u/8291084?v=3","gravatar_id":"","url":"https://api.github.com/users/m-colombo","html_url":"https://github.com/m-colombo","followers_url":"https://api.github.com/users/m-colombo/followers","following_url":"https://api.github.com/users/m-colombo/following{/other_user}","gists_url":"https://api.github.com/users/m-colombo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-colombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-colombo/subscriptions","organizations_url":"https://api.github.com/users/m-colombo/orgs","repos_url":"https://api.github.com/users/m-colombo/repos","events_url":"https://api.github.com/users/m-colombo/events{/privacy}","received_events_url":"https://api.github.com/users/m-colombo/received_events","type":"User","site_admin":false},"repo":{"id":64497942,"name":"tensorflow","full_name":"m-colombo/tensorflow","owner":{"login":"m-colombo","id":8291084,"avatar_url":"https://avatars.githubusercontent.com/u/8291084?v=3","gravatar_id":"","url":"https://api.github.com/users/m-colombo","html_url":"https://github.com/m-colombo","followers_url":"https://api.github.com/users/m-colombo/followers","following_url":"https://api.github.com/users/m-colombo/following{/other_user}","gists_url":"https://api.github.com/users/m-colombo/gists{/gist_id}","starred_url":"https://api.github.com/users/m-colombo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-colombo/subscriptions","organizations_url":"https://api.github.com/users/m-colombo/orgs","repos_url":"https://api.github.com/users/m-colombo/repos","events_url":"https://api.github.com/users/m-colombo/events{/privacy}","received_events_url":"https://api.github.com/users/m-colombo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m-colombo/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":true,"url":"https://api.github.com/repos/m-colombo/tensorflow","forks_url":"https://api.github.com/repos/m-colombo/tensorflow/forks","keys_url":"https://api.github.com/repos/m-colombo/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m-colombo/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m-colombo/tensorflow/teams","hooks_url":"https://api.github.com/repos/m-colombo/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/m-colombo/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/m-colombo/tensorflow/events","assignees_url":"https://api.github.com/repos/m-colombo/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/m-colombo/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/m-colombo/tensorflow/tags","blobs_url":"https://api.github.com/repos/m-colombo/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m-colombo/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m-colombo/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/m-colombo/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m-colombo/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/m-colombo/tensorflow/languages","stargazers_url":"https://api.github.com/repos/m-colombo/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/m-colombo/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/m-colombo/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/m-colombo/tensorflow/subscription","commits_url":"https://api.github.com/repos/m-colombo/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/m-colombo/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/m-colombo/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/m-colombo/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/m-colombo/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/m-colombo/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m-colombo/tensorflow/merges","archive_url":"https://api.github.com/repos/m-colombo/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m-colombo/tensorflow/downloads","issues_url":"https://api.github.com/repos/m-colombo/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/m-colombo/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/m-colombo/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/m-colombo/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m-colombo/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/m-colombo/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/m-colombo/tensorflow/deployments","created_at":"2016-07-29T17:18:24Z","updated_at":"2016-07-29T17:18:36Z","pushed_at":"2016-08-05T14:11:23Z","git_url":"git://github.com/m-colombo/tensorflow.git","ssh_url":"git@github.com:m-colombo/tensorflow.git","clone_url":"https://github.com/m-colombo/tensorflow.git","svn_url":"https://github.com/m-colombo/tensorflow","homepage":"http://tensorflow.org","size":50891,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tensorflow:master","ref":"master","sha":"27eeb441bad8bcaa1bcba42a4b4ee49fb50ea0d3","user":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"repo":{"id":45717250,"name":"tensorflow","full_name":"tensorflow/tensorflow","owner":{"login":"tensorflow","id":15658638,"avatar_url":"https://avatars.githubusercontent.com/u/15658638?v=3","gravatar_id":"","url":"https://api.github.com/users/tensorflow","html_url":"https://github.com/tensorflow","followers_url":"https://api.github.com/users/tensorflow/followers","following_url":"https://api.github.com/users/tensorflow/following{/other_user}","gists_url":"https://api.github.com/users/tensorflow/gists{/gist_id}","starred_url":"https://api.github.com/users/tensorflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tensorflow/subscriptions","organizations_url":"https://api.github.com/users/tensorflow/orgs","repos_url":"https://api.github.com/users/tensorflow/repos","events_url":"https://api.github.com/users/tensorflow/events{/privacy}","received_events_url":"https://api.github.com/users/tensorflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tensorflow/tensorflow","description":"Computation using data flow graphs for scalable machine learning","fork":false,"url":"https://api.github.com/repos/tensorflow/tensorflow","forks_url":"https://api.github.com/repos/tensorflow/tensorflow/forks","keys_url":"https://api.github.com/repos/tensorflow/tensorflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tensorflow/tensorflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tensorflow/tensorflow/teams","hooks_url":"https://api.github.com/repos/tensorflow/tensorflow/hooks","issue_events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/events{/number}","events_url":"https://api.github.com/repos/tensorflow/tensorflow/events","assignees_url":"https://api.github.com/repos/tensorflow/tensorflow/assignees{/user}","branches_url":"https://api.github.com/repos/tensorflow/tensorflow/branches{/branch}","tags_url":"https://api.github.com/repos/tensorflow/tensorflow/tags","blobs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tensorflow/tensorflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tensorflow/tensorflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tensorflow/tensorflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tensorflow/tensorflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tensorflow/tensorflow/languages","stargazers_url":"https://api.github.com/repos/tensorflow/tensorflow/stargazers","contributors_url":"https://api.github.com/repos/tensorflow/tensorflow/contributors","subscribers_url":"https://api.github.com/repos/tensorflow/tensorflow/subscribers","subscription_url":"https://api.github.com/repos/tensorflow/tensorflow/subscription","commits_url":"https://api.github.com/repos/tensorflow/tensorflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tensorflow/tensorflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tensorflow/tensorflow/contents/{+path}","compare_url":"https://api.github.com/repos/tensorflow/tensorflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tensorflow/tensorflow/merges","archive_url":"https://api.github.com/repos/tensorflow/tensorflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tensorflow/tensorflow/downloads","issues_url":"https://api.github.com/repos/tensorflow/tensorflow/issues{/number}","pulls_url":"https://api.github.com/repos/tensorflow/tensorflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tensorflow/tensorflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tensorflow/tensorflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/labels{/name}","releases_url":"https://api.github.com/repos/tensorflow/tensorflow/releases{/id}","deployments_url":"https://api.github.com/repos/tensorflow/tensorflow/deployments","created_at":"2015-11-07T01:19:20Z","updated_at":"2016-08-27T11:20:04Z","pushed_at":"2016-08-27T08:01:50Z","git_url":"git://github.com/tensorflow/tensorflow.git","ssh_url":"git@github.com:tensorflow/tensorflow.git","clone_url":"https://github.com/tensorflow/tensorflow.git","svn_url":"https://github.com/tensorflow/tensorflow","homepage":"http://tensorflow.org","size":225114,"stargazers_count":30657,"watchers_count":30657,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12943,"mirror_url":null,"open_issues_count":501,"forks":12943,"open_issues":501,"watchers":30657,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604"},"html":{"href":"https://github.com/tensorflow/tensorflow/pull/3604"},"issue":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/3604"},"comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/issues/3604/comments"},"review_comments":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604/comments"},"review_comment":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tensorflow/tensorflow/pulls/3604/commits"},"statuses":{"href":"https://api.github.com/repos/tensorflow/tensorflow/statuses/f9c78e0f29d53a5635847a653a073d26dc010a50"}}}}
{"actor":{"display_login":"m-colombo"}}