View source on GitHub |
Convert a BGR image to RGB.
tfio.experimental.color.bgr_to_rgb(
input, name=None
)
Args | |
---|---|
input
|
A 3-D ([H, W, 3] ) or 4-D ([N, H, W, 3] ) Tensor.
|
name
|
A name for the operation (optional). |
Returns | |
---|---|
A 3-D ([H, W, 3] ) or 4-D ([N, H, W, 3] ) Tensor.
|