{"action":"created","issue":{"url":"https://api.github.com/repos/clab/dynet/issues/1386","repository_url":"https://api.github.com/repos/clab/dynet","labels_url":"https://api.github.com/repos/clab/dynet/issues/1386/labels{/name}","comments_url":"https://api.github.com/repos/clab/dynet/issues/1386/comments","events_url":"https://api.github.com/repos/clab/dynet/issues/1386/events","html_url":"https://github.com/clab/dynet/issues/1386","id":328670728,"node_id":"MDU6SXNzdWUzMjg2NzA3Mjg=","number":1386,"title":"_dynet.Expression.__mul__ NotImplementedError","user":{"login":"dreamilam","id":31337057,"node_id":"MDQ6VXNlcjMxMzM3MDU3","avatar_url":"https://avatars0.githubusercontent.com/u/31337057?v=4","gravatar_id":"","url":"https://api.github.com/users/dreamilam","html_url":"https://github.com/dreamilam","followers_url":"https://api.github.com/users/dreamilam/followers","following_url":"https://api.github.com/users/dreamilam/following{/other_user}","gists_url":"https://api.github.com/users/dreamilam/gists{/gist_id}","starred_url":"https://api.github.com/users/dreamilam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dreamilam/subscriptions","organizations_url":"https://api.github.com/users/dreamilam/orgs","repos_url":"https://api.github.com/users/dreamilam/repos","events_url":"https://api.github.com/users/dreamilam/events{/privacy}","received_events_url":"https://api.github.com/users/dreamilam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-01T21:48:04Z","updated_at":"2018-07-03T03:28:21Z","closed_at":"2018-06-11T18:09:21Z","author_association":"NONE","body":"I was running the dynet python tutorial.\r\n\r\n```python\r\nimport dynet as dy\r\n# define the parameters\r\nm = dy.ParameterCollection()\r\nW = m.add_parameters((8,2))\r\nV = m.add_parameters((1,8))\r\nb = m.add_parameters((8))\r\n\r\n# renew the computation graph\r\ndy.renew_cg()\r\n\r\n# create the network\r\nx = dy.vecInput(2) # an input vector of size 2.\r\noutput = dy.logistic(V*(dy.tanh((W*x)+b)))\r\n```\r\n\r\nI am getting this error.\r\n\r\n```\r\n[dynet] random seed: 3380132027\r\n[dynet] allocating memory: 512MB\r\n[dynet] memory allocation done.\r\nTraceback (most recent call last):\r\n  File \"xor.py\", line 13, in <module>\r\n    output = dy.logistic(V*(dy.tanh((W*x)+b)))\r\n  File \"_dynet.pyx\", line 1907, in _dynet.Expression.__mul__\r\nNotImplementedError\r\n```\r\n\r\nDon't know where the problem is. Any input would be appreciated."},"comment":{"url":"https://api.github.com/repos/clab/dynet/issues/comments/402002231","html_url":"https://github.com/clab/dynet/issues/1386#issuecomment-402002231","issue_url":"https://api.github.com/repos/clab/dynet/issues/1386","id":402002231,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjAwMjIzMQ==","user":{"login":"xcgfth","id":33890415,"node_id":"MDQ6VXNlcjMzODkwNDE1","avatar_url":"https://avatars0.githubusercontent.com/u/33890415?v=4","gravatar_id":"","url":"https://api.github.com/users/xcgfth","html_url":"https://github.com/xcgfth","followers_url":"https://api.github.com/users/xcgfth/followers","following_url":"https://api.github.com/users/xcgfth/following{/other_user}","gists_url":"https://api.github.com/users/xcgfth/gists{/gist_id}","starred_url":"https://api.github.com/users/xcgfth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xcgfth/subscriptions","organizations_url":"https://api.github.com/users/xcgfth/orgs","repos_url":"https://api.github.com/users/xcgfth/repos","events_url":"https://api.github.com/users/xcgfth/events{/privacy}","received_events_url":"https://api.github.com/users/xcgfth/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T03:28:21Z","updated_at":"2018-07-03T03:28:21Z","author_association":"NONE","body":"@xbainbain , which version you use?"}}
{"actor":{"display_login":"xcgfth"}}