Contents:
Deserialize an image as read from a TFRecord.
example (bytes) – byte serialization of the image
bytes
img_size (Tuple[int, int]) – expected shape of the image (H, W)
Tuple
int
(H, W)
Tensor
A uint8 tensor of shape [H W 3]
[H W 3]