Skip to content

Bugfix in gradient code for tf.image.resize_nearest_neighbor - #5497

Merged
benoitsteiner merged 1 commit into
tensorflow:masterfrom
uschmidt83:master
Nov 10, 2016
Merged

benoitsteiner merged 1 commit into
tensorflow:masterfrom
uschmidt83:master

Conversation

@uschmidt83

Copy link
Copy Markdown
Contributor

This PR prevents errors when computing gradients that involve tf.image.resize_nearest_neighbor and tensors with partially defined shapes.

Prevents `ValueError: Cannot convert a partially known TensorShape to a Tensor...` if any value of `image.get_shape()[1:3]` is None.
@mention-bot

Copy link
Copy Markdown

@uschmidt83, thanks for your PR! By analyzing the history of the files in this pull request, we identified @vrv, @tensorflower-gardener and @keveman to be potential reviewers.

@tensorflow-jenkins

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@benoitsteiner

Copy link
Copy Markdown
Contributor

Jenkins, test this please.

@benoitsteiner
benoitsteiner merged commit f8cf3fe into tensorflow:master Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants