#include <logging_ops.h>
Prints a list of tensors.
Passes input
through to output
and prints data
when evaluating.
Arguments:
output
Optional attributes (see Attrs
):
first_n
number of times. -1 disables logging.Returns:
Output
: = The unmodified input
tensor Constructors and Destructors | |
---|---|
Print(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::InputList data) | |
Print(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::InputList data, const Print::Attrs & attrs) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
FirstN(int64 x) | |
Message(StringPiece x) | |
Summarize(int64 x) |
Structs | |
---|---|
tensorflow::ops::Print::Attrs | Optional attribute setters for Print. |
::tensorflow::Output output
Print( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::InputList data )
Print( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::InputList data, const Print::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs FirstN( int64 x )
Attrs Message( StringPiece x )
Attrs Summarize( int64 x )
© 2018 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/api_docs/cc/class/tensorflow/ops/print.html