History log of /external/tensorflow/tensorflow/core/ops/image_ops_test.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
568127ac3b8e501bb230ee287ec9a46129fad349 17-Oct-2017 Yong Tang <yong.tang.github@outlook.com> Improve shape inference with `DecodeAndCropJpeg` (#13750)

* Improve shape inference with `DecodeAndCropJpeg`

While working on improving shape inference for several
other ops in 13561 and 13193, I noticed that `DecodeAndCropJpeg`
does not inference shape even though crop size might have already
be provided. In that case the shape will be `[h, w, channel]`
and `h`, `w` is part of the `crop_window`.

This fix updates the shape function in `DecodeAndCropJpeg`
for improving shape inference.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Add test cases to cover shape inference for `DecodeAndCropJpeg`

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* Address failed unit tests

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
9d56f419cf3a92fb4c66943f216d3632c940b9db 13-Sep-2017 Mingxing Tan <tanmingxing@google.com> Add crop_and_decode_jpeg_op that combines the crop and decode for better
performance.

PiperOrigin-RevId: 168493125
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
0599901f020dd2e74b93bc4e12364027fbde1f1c 30-Aug-2017 Mingxing Tan <tanmingxing@google.com> Add extract_jpeg_shape such that we can get the image shape without actually
decoding the image.

PiperOrigin-RevId: 166910421
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
8928074ee22d49f4653f0b42993b969f83841b7a 13-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Introduce QuantizedReslizeBilinear

PiperOrigin-RevId: 158801222
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
0fe0bfcc3cf6930edc096998b1445cead92de8c3 06-Jun-2017 A. Unique TensorFlower <gardener@tensorflow.org> Remove unused protobuf header inclusions

PiperOrigin-RevId: 158120864
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
8016cf4ab1e2ff3c3c5448e539b9ec89d5a0bcd4 09-Sep-2016 A. Unique TensorFlower <gardener@tensorflow.org> Switch remaining ops in image_ops.py to use C++ shape functions.

Implement C++ shape fns for DecodeGif and RandomCrop.
Change: 132633600
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
660d7e5ae51d8d74643874b9ae10f855dced69bb 30-Aug-2016 A. Unique TensorFlower <gardener@tensorflow.org> Delegate to C++ shape inference functions for several ops in
image_ops, tensor_array_ops, sparse_ops, and string_ops.

Fix bugs in C++ shape inference for image decoding (channel 0 means
auto-detect) and string split (some output dims are known).
Change: 131747517
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
cf93b043a88607db17b84b5b5d3f0064473cf5ce 12-Aug-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add C++ shape inference functions for ParseExample and
ParseSingleSequenceExample.

The attribute parsing code was moved over verbatim to example_proto_helper.*.

Change TF_CHECK_OK to TF_ASSERT_OK in all shape inference tests under core.
Change: 130041336
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
d55d69a633af9d0e38726e2cdf2504b9e269a3f8 01-Aug-2016 Suharsh Sivakumar <suharshs@google.com> C++ shape inference for some image ops.
Change: 129002019
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
94ca4efbb27cf78bb012e418712cf14d36dea4d0 22-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Cleanups for shape inference (mainly testing):

- In shape inference test constructor, record an error and check it later in
testing - this makes for nicer errors when there is a bad input spec.
- Check that the number of inputs passed in the input spec matches what the
NodeDef declares; fix up violations.
- Remove constexpr kUnknownDim static in files.
Change: 128188634
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc
d7e7b7c1dd9af1566945cf5ca78e80b40913a27b 21-Jul-2016 A. Unique TensorFlower <gardener@tensorflow.org> Add C++ shape inference functions for several image ops.
Change InferenceContext::ReplaceDim to support negative indexing.
Change: 128022331
/external/tensorflow/tensorflow/core/ops/image_ops_test.cc