{"action":"created","issue":{"url":"https://api.github.com/repos/intel/mkl-dnn/issues/299","repository_url":"https://api.github.com/repos/intel/mkl-dnn","labels_url":"https://api.github.com/repos/intel/mkl-dnn/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/intel/mkl-dnn/issues/299/comments","events_url":"https://api.github.com/repos/intel/mkl-dnn/issues/299/events","html_url":"https://github.com/intel/mkl-dnn/issues/299","id":350780044,"node_id":"MDU6SXNzdWUzNTA3ODAwNDQ=","number":299,"title":"Does the LSTM network support changing the hidden state from h to other parameter?","user":{"login":"xmsjshou","id":27319836,"node_id":"MDQ6VXNlcjI3MzE5ODM2","avatar_url":"https://avatars2.githubusercontent.com/u/27319836?v=4","gravatar_id":"","url":"https://api.github.com/users/xmsjshou","html_url":"https://github.com/xmsjshou","followers_url":"https://api.github.com/users/xmsjshou/followers","following_url":"https://api.github.com/users/xmsjshou/following{/other_user}","gists_url":"https://api.github.com/users/xmsjshou/gists{/gist_id}","starred_url":"https://api.github.com/users/xmsjshou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmsjshou/subscriptions","organizations_url":"https://api.github.com/users/xmsjshou/orgs","repos_url":"https://api.github.com/users/xmsjshou/repos","events_url":"https://api.github.com/users/xmsjshou/events{/privacy}","received_events_url":"https://api.github.com/users/xmsjshou/received_events","type":"User","site_admin":false},"labels":[{"id":373491622,"node_id":"MDU6TGFiZWwzNzM0OTE2MjI=","url":"https://api.github.com/repos/intel/mkl-dnn/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":{"login":"mgouicem","id":22825297,"node_id":"MDQ6VXNlcjIyODI1Mjk3","avatar_url":"https://avatars1.githubusercontent.com/u/22825297?v=4","gravatar_id":"","url":"https://api.github.com/users/mgouicem","html_url":"https://github.com/mgouicem","followers_url":"https://api.github.com/users/mgouicem/followers","following_url":"https://api.github.com/users/mgouicem/following{/other_user}","gists_url":"https://api.github.com/users/mgouicem/gists{/gist_id}","starred_url":"https://api.github.com/users/mgouicem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgouicem/subscriptions","organizations_url":"https://api.github.com/users/mgouicem/orgs","repos_url":"https://api.github.com/users/mgouicem/repos","events_url":"https://api.github.com/users/mgouicem/events{/privacy}","received_events_url":"https://api.github.com/users/mgouicem/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgouicem","id":22825297,"node_id":"MDQ6VXNlcjIyODI1Mjk3","avatar_url":"https://avatars1.githubusercontent.com/u/22825297?v=4","gravatar_id":"","url":"https://api.github.com/users/mgouicem","html_url":"https://github.com/mgouicem","followers_url":"https://api.github.com/users/mgouicem/followers","following_url":"https://api.github.com/users/mgouicem/following{/other_user}","gists_url":"https://api.github.com/users/mgouicem/gists{/gist_id}","starred_url":"https://api.github.com/users/mgouicem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgouicem/subscriptions","organizations_url":"https://api.github.com/users/mgouicem/orgs","repos_url":"https://api.github.com/users/mgouicem/repos","events_url":"https://api.github.com/users/mgouicem/events{/privacy}","received_events_url":"https://api.github.com/users/mgouicem/received_events","type":"User","site_admin":false},{"login":"irinasok","id":36312239,"node_id":"MDQ6VXNlcjM2MzEyMjM5","avatar_url":"https://avatars0.githubusercontent.com/u/36312239?v=4","gravatar_id":"","url":"https://api.github.com/users/irinasok","html_url":"https://github.com/irinasok","followers_url":"https://api.github.com/users/irinasok/followers","following_url":"https://api.github.com/users/irinasok/following{/other_user}","gists_url":"https://api.github.com/users/irinasok/gists{/gist_id}","starred_url":"https://api.github.com/users/irinasok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irinasok/subscriptions","organizations_url":"https://api.github.com/users/irinasok/orgs","repos_url":"https://api.github.com/users/irinasok/repos","events_url":"https://api.github.com/users/irinasok/events{/privacy}","received_events_url":"https://api.github.com/users/irinasok/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-08-15T11:45:42Z","updated_at":"2018-08-24T08:50:35Z","closed_at":null,"author_association":"NONE","body":"In the issue #218 , the reference link (see below) shows the LSTM equations with respect to the code.\r\n> Also note that we expect a certain order for the gate weights. Using the formulas in [MXNet documentation](https://mxnet.incubator.apache.org/api/python/gluon/rnn.html#mxnet.gluon.rnn.LSTM) , here are the correspondance with MKL-DNN ...\r\n\r\nThe LSTM uses<img src=\"https://user-images.githubusercontent.com/27319836/44146453-260d33ec-a0c2-11e8-82ce-7be121820a1f.png\" width = \"128\" height = \"32\" alt=\"Ht\" align=center /> as the hidden state. For example, if I want to use <img src=\"https://user-images.githubusercontent.com/27319836/44146549-a9256556-a0c2-11e8-9e69-26ddf7c8fac3.png\" width = \"112\" height = \"28\" alt=\"Yt\" align=center /> here to replace _**h**_, does MKL-DNN support the modification for each built-in lstm layer?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/intel/mkl-dnn/issues/comments/415696117","html_url":"https://github.com/intel/mkl-dnn/issues/299#issuecomment-415696117","issue_url":"https://api.github.com/repos/intel/mkl-dnn/issues/299","id":415696117,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTY5NjExNw==","user":{"login":"xmsjshou","id":27319836,"node_id":"MDQ6VXNlcjI3MzE5ODM2","avatar_url":"https://avatars2.githubusercontent.com/u/27319836?v=4","gravatar_id":"","url":"https://api.github.com/users/xmsjshou","html_url":"https://github.com/xmsjshou","followers_url":"https://api.github.com/users/xmsjshou/followers","following_url":"https://api.github.com/users/xmsjshou/following{/other_user}","gists_url":"https://api.github.com/users/xmsjshou/gists{/gist_id}","starred_url":"https://api.github.com/users/xmsjshou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmsjshou/subscriptions","organizations_url":"https://api.github.com/users/xmsjshou/orgs","repos_url":"https://api.github.com/users/xmsjshou/repos","events_url":"https://api.github.com/users/xmsjshou/events{/privacy}","received_events_url":"https://api.github.com/users/xmsjshou/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T08:50:35Z","updated_at":"2018-08-24T08:50:35Z","author_association":"NONE","body":"The formulas I used are based on this: (Page 150) \r\n[https://docs.google.com/presentation/d/1UHXrKL1oTdgMLoAHHPfMM_srDO0BCyJXPmhe4DNh_G8/pub?start=false&loop=false&delayms=3000&slide=id.g24bcaec3b0_0_3531](url)\r\n<img src=\"https://user-images.githubusercontent.com/27319836/44574960-6d58e500-a7bd-11e8-87ea-bfeede843a2b.png\" width = \"250\" height = \"180\" alt=\"Yt\" align=center />\r\nWhere all the _Ht_ is replaced by _Yt_ (mentioned above) which has a smaller dimension (e.g. from 1 * 2048 down to 1 * 1024), since it is easy to deal with a smaller one."}}
{"actor":{"display_login":"xmsjshou"}}