{"action":"opened","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/528","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/528/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/528/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/528/events","html_url":"https://github.com/tensorflow/tensorflow/issues/528","id":122615712,"number":528,"title":"tf.image.resize_images and resize_{method} should work with single image as well as batch","user":{"login":"dave-andersen","id":827870,"avatar_url":"https://avatars.githubusercontent.com/u/827870?v=3","gravatar_id":"","url":"https://api.github.com/users/dave-andersen","html_url":"https://github.com/dave-andersen","followers_url":"https://api.github.com/users/dave-andersen/followers","following_url":"https://api.github.com/users/dave-andersen/following{/other_user}","gists_url":"https://api.github.com/users/dave-andersen/gists{/gist_id}","starred_url":"https://api.github.com/users/dave-andersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dave-andersen/subscriptions","organizations_url":"https://api.github.com/users/dave-andersen/orgs","repos_url":"https://api.github.com/users/dave-andersen/repos","events_url":"https://api.github.com/users/dave-andersen/events{/privacy}","received_events_url":"https://api.github.com/users/dave-andersen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-16T22:15:37Z","updated_at":"2015-12-16T22:15:37Z","closed_at":null,"body":"Or at least not transparently do the wrong thing with the resulting shape.\r\nAt present, it's necessary to \r\n      image = tf.expand_dims(image, [0])\r\nand then squeeze it before passing to resize."}}