Google I/O returns May 18-20! Reserve space and build your schedule Register now

tfio.experimental.color.rgba_to_rgb

Convert a RGBA image to RGB.

input A 3-D ([H, W, 4]) or 4-D ([N, H, W, 4]) Tensor.
name A name for the operation (optional).

A 3-D ([H, W, 3]) or 4-D ([N, H, W, 3]) Tensor.