Save the date! Google I/O returns May 18-20 Register now


Prints a list of tensors.

Passes input through to output and prints data when evaluating.

input A Tensor. The tensor passed to output
data A list of Tensor objects. A list of tensors to print out when op is evaluated.
message An optional string. Defaults to "". A string, prefix of the error message.
first_n An optional int. Defaults to -1. Only log first_n number of times. -1 disables logging.
summarize An optional int. Defaults to 3. Only print this many entries of each tensor.
name A name for the operation (optional).

A Tensor. Has the same type as input.