Commit 2bc7a155 authored by Yong Tang's avatar Yong Tang Committed by Rasmus Munk Larsen
Browse files

Add uint16 support for tf.decode_raw (#12719)



* Add uint16 support for tf.decode_raw

This fix tries to address the request raised in 10124 where
uint16 support for tf.decode_raw is needed. tf.decode_raw
already support half, float32, float64, int8, int16, int32, int64,
uint8. And uint16 was not supported.

This fix adds uint16 support for tf.decode_raw.

This fix fixes 10124.

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

* Fix test failure caused by uint16 support of decode_raw and add unit tests.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 3bc73f5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment