aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/common.bzl
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com>2017-12-26 13:21:20 -0600
committerGravatar drpngx <drpngx@users.noreply.github.com>2017-12-26 11:21:20 -0800
commitfe2b9a2bc69b3599415c7fb258d4b5b9c33e8965 (patch)
tree03021cd0fdfc0c2ad32b93d74464210552455e5d /third_party/common.bzl
parent64cb8494a1628e799ecf869e8c1beb302c907720 (diff)
Add shape function SingleImageRandomDotStereograms (#15431)
* Add shape function SingleImageRandomDotStereograms This fix tries to address the issue raised in 15429 where there is no shape function for SingleImageRandomDotStereograms. This fix adds the shape function for `SingleImageRandomDotStereograms`. NOTE: `SingleImageRandomDotStereograms` takes an attribute of `output_image_shape` which is in the format of `[X, Y, C]` (`[ImageX, ImageY, Channel]`. However, the actual data output is in the format of `[ImageY, ImageX, Channel]` (`[h, w, c]`) so by default the output_image_shape has the value of [1024, 768, 1] but the output data will be [768, 1024, 1]. And if `[1200, 800, 1]` is used explicitly then the output data shape will be `[800, 1200, 1]`. This fix does not change the behavior for now. This fix fixes 15429. Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Add test cases for shape function for SingleImageRandomDotStereograms Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Update Bazel BUILD file Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Address review feedback. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Diffstat (limited to 'third_party/common.bzl')
0 files changed, 0 insertions, 0 deletions