tf.compat.v1.Print

Prints a list of tensors. (deprecated)

This is an identity op (behaves like tf.identity) with the side effect of printing data when evaluating.

Additionally, to use tf.print in python 2.7, users must make sure to import the following:

from __future__ import print_function

input_ A tensor passed through this op.
data A list of tensors to print out when op is evaluated.
message A string, prefix of the error message.
first_n Only log f