tf.raw_ops.PrintV2

Prints a string scalar.

tf.raw_ops.PrintV2(
    input, output_stream='stderr', end='\n', name=None
)

Prints a string scalar to the desired output_stream.

Args:

  • input: A Tensor of type string. The string scalar to print.
  • output_stream: An optional string. Defaults to "stderr". A string specifying the output stream or logging level to print to.
  • end: An optional string. Defaults to "\n".
  • name: A name for the operation (optional).

Returns:

The created Operation.