Repository navigation
[Minor] ExtractImagePatches grad fails when batch size is unknown - #5502
benoitsteiner merged 2 commits into
Conversation
|
@liuyipei, thanks for your PR! By analyzing the history of the files in this pull request, we identified @keveman, @vrv and @benoitsteiner to be potential reviewers. |
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
Can one of the admins verify this patch? |
|
I signed it! |
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
dae1537 to
379bfd5
Compare
|
I signed it! |
|
CLAs look good, thanks! |
|
Can one of the admins verify this patch? |
| dim.value for dim in op.inputs[0].get_shape() | ||
| ] | ||
| batch_size = array_ops.shape(op.inputs[0])[0] | ||
|
|
There was a problem hiding this comment.
To be consistent, you should also use array_ops.shape() to extract rows_in, cols_in, and channels
…tation of ExtractImagePatches
|
@benoitsteiner |
|
Jenkins, test this please. |
Mentioned in
#5501
#3672
Solution was by @mohamedadaly