Skip to content

Conversation

@yongtang
Copy link
Member

This fix reuses the implementation in CIFAR, reduces code duplication, and also added a couple of test cases in eager mode

Signed-off-by: Yong Tang [email protected]

@yongtang yongtang force-pushed the mnist_archive branch 3 times, most recently from 3bec239 to 65fb131 Compare April 13, 2019 14:45
This fix reuses the implementation in CIFAR,
reduces code duplication, and also added
a couple of test cases in eager mode

Signed-off-by: Yong Tang <[email protected]>
@yongtang
Copy link
Member Author

@terrytangyuan CIFAR dataset's C++ code has been reduced from 470+ lines to 130+ lines. Should help contributors to writer ops easier.

@yongtang
Copy link
Member Author

yongtang commented Apr 14, 2019

Added in graph optimization. Dataset's implementation seems to have some trouble with Variant, so converts inputs to accept either variant, or string types. In case of python interface, variant is still used. The internal graph optimization uses serialized variant (string) now.

Internal Graph Optimization has some trouble with Variant,
so covert to String for internal graph, and maintains
Variant by default.

Signed-off-by: Yong Tang <[email protected]>
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@terrytangyuan terrytangyuan merged commit f2ea424 into tensorflow:master Apr 15, 2019
@yongtang yongtang deleted the mnist_archive branch April 15, 2019 21:02
i-ony pushed a commit to i-ony/io that referenced this pull request Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants