{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6035","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6035/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6035/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6035/events","html_url":"https://github.com/tensorflow/tensorflow/issues/6035","id":193054375,"number":6035,"title":"Error message for running tf.nn.max_pool_with_argmax() on CPU","user":{"login":"0bserver07","id":2153691,"avatar_url":"https://avatars2.githubusercontent.com/u/2153691?v=4","gravatar_id":"","url":"https://api.github.com/users/0bserver07","html_url":"https://github.com/0bserver07","followers_url":"https://api.github.com/users/0bserver07/followers","following_url":"https://api.github.com/users/0bserver07/following{/other_user}","gists_url":"https://api.github.com/users/0bserver07/gists{/gist_id}","starred_url":"https://api.github.com/users/0bserver07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0bserver07/subscriptions","organizations_url":"https://api.github.com/users/0bserver07/orgs","repos_url":"https://api.github.com/users/0bserver07/repos","events_url":"https://api.github.com/users/0bserver07/events{/privacy}","received_events_url":"https://api.github.com/users/0bserver07/received_events","type":"User","site_admin":false},"labels":[{"id":299643928,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/stat:contributions%20welcome","name":"stat:contributions welcome","color":"009800","default":false},{"id":473173272,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:feature","name":"type:feature","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2016-12-02T07:49:37Z","updated_at":"2018-02-22T15:58:05Z","closed_at":null,"author_association":"NONE","body":"Running `tf.nn.max_pool_with_argmax()` on CPU gives a very obscure error:\r\n\r\n`tensorflow.python.framework.errors_impl.InvalidArgumentError: No OpKernel was registered to support Op 'MaxPoolWithArgmax' with these attrs.  Registered devices: [CPU], Registered kernels:\r\n`  <no registered kernels>\r\n\r\nFrom this line:\r\n\r\nhttps://github.com/tensorflow/tensorflow/blob/bc64f05d4090262025a95438b42a54bfdc5bcc80/tensorflow/core/kernels/maxpooling_op.cc#L672\r\n\r\nI think it's useful to mention `tf.nn.max_pool_with_argmax()` is only implemented for GPU instead."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/367726941","html_url":"https://github.com/tensorflow/tensorflow/issues/6035#issuecomment-367726941","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/6035","id":367726941,"user":{"login":"saeed68gm","id":6844416,"avatar_url":"https://avatars0.githubusercontent.com/u/6844416?v=4","gravatar_id":"","url":"https://api.github.com/users/saeed68gm","html_url":"https://github.com/saeed68gm","followers_url":"https://api.github.com/users/saeed68gm/followers","following_url":"https://api.github.com/users/saeed68gm/following{/other_user}","gists_url":"https://api.github.com/users/saeed68gm/gists{/gist_id}","starred_url":"https://api.github.com/users/saeed68gm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saeed68gm/subscriptions","organizations_url":"https://api.github.com/users/saeed68gm/orgs","repos_url":"https://api.github.com/users/saeed68gm/repos","events_url":"https://api.github.com/users/saeed68gm/events{/privacy}","received_events_url":"https://api.github.com/users/saeed68gm/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T15:58:05Z","updated_at":"2018-02-22T15:58:05Z","author_association":"NONE","body":"@nio1814 My patch does what you want to do I believe. Give it a read and let me know what you think"}}
{"actor":{"display_login":"saeed68gm"}}