Writes an image summary.

Writes image tensor at step with tag using summary writer. tensor is image with shape [height, width, channels].

writer A Tensor of type resource.
step A Tensor of type int64.
tag A Tensor of type string.
tensor A Tensor. Must be one of the following types: uint8, float32, half.
bad_color A Tensor of type uint8.
max_images An optional int that is >= 1. Defaults to 3.
name A name for the operation (optional).

The created Operation.