W3cubDocs

/TensorFlow 2.3

tf.raw_ops.Print

Prints a list of tensors.

Passes input through to output and prints data when evaluating.

Args
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).
Returns
A Tensor. Has the same type as input.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/raw_ops/Print