tf.Print

tf.Print

tf.Print

Print(
    input_,
    data,
    message=None,
    first_n=None,
    summarize=None,
    name=None
)

Defined in tensorflow/python/ops/logging_ops.py.

See the guide: Control Flow > Debugging Operations

Prints a list of tensors.

This is an identity op with the side effect of printing data when evaluating.

登录查看完整内容