{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/216","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/216/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/216/events","html_url":"https://github.com/tensorflow/tensorflow/issues/216","id":116896403,"number":216,"title":"MatMul Broadcasting / tensordot","user":{"login":"allentran","id":6768556,"avatar_url":"https://avatars.githubusercontent.com/u/6768556?v=3","gravatar_id":"","url":"https://api.github.com/users/allentran","html_url":"https://github.com/allentran","followers_url":"https://api.github.com/users/allentran/followers","following_url":"https://api.github.com/users/allentran/following{/other_user}","gists_url":"https://api.github.com/users/allentran/gists{/gist_id}","starred_url":"https://api.github.com/users/allentran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allentran/subscriptions","organizations_url":"https://api.github.com/users/allentran/orgs","repos_url":"https://api.github.com/users/allentran/repos","events_url":"https://api.github.com/users/allentran/events{/privacy}","received_events_url":"https://api.github.com/users/allentran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-14T05:00:31Z","updated_at":"2016-06-06T17:28:53Z","closed_at":"2016-06-06T17:28:53Z","body":"It would really help if `matmul()` and element-wise `mul()` were broadcastable, like in Numpy.  Otherwise you're writing a bunch of boilerplate reshaping code.\r\n\r\nFor example, suppose I have a `T x n x k` and want to multiply it by a `k x k2`, and then to a max pool over `T` and then a mean pool over `n`.  To do this now, I think you need to reshape, do the `matmul()` and then undo the reshape and then do the pooling."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/224028488","html_url":"https://github.com/tensorflow/tensorflow/issues/216#issuecomment-224028488","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/216","id":224028488,"user":{"login":"girving","id":70511,"avatar_url":"https://avatars.githubusercontent.com/u/70511?v=3","gravatar_id":"","url":"https://api.github.com/users/girving","html_url":"https://github.com/girving","followers_url":"https://api.github.com/users/girving/followers","following_url":"https://api.github.com/users/girving/following{/other_user}","gists_url":"https://api.github.com/users/girving/gists{/gist_id}","starred_url":"https://api.github.com/users/girving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girving/subscriptions","organizations_url":"https://api.github.com/users/girving/orgs","repos_url":"https://api.github.com/users/girving/repos","events_url":"https://api.github.com/users/girving/events{/privacy}","received_events_url":"https://api.github.com/users/girving/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T17:28:53Z","updated_at":"2016-06-06T17:28:53Z","body":"This issue appears to be covered by the more specific #1062.  @vladfi1: Does #1062 do what you want, or does `tf.batch_matmul` work now?  We can reopen if not, but we should try to make the issue more specific if so. "}}
{"actor":{"display_login":"girving"}}