#include <logging_ops.h>
Optional attribute setters for Print.
Public attributes | |
---|---|
first_n_ = -1 | int64 |
message_ = "" | StringPiece |
summarize_ = 3 | int64 |
Public functions | |
---|---|
FirstN(int64 x) | TF_MUST_USE_RESULT Attrs Only log first_n number of times. |
Message(StringPiece x) | TF_MUST_USE_RESULT Attrs A string, prefix of the error message. |
Summarize(int64 x) | TF_MUST_USE_RESULT Attrs Only print this many entries of each tensor. |
int64 tensorflow::ops::Print::Attrs::first_n_ = -1
StringPiece tensorflow::ops::Print::Attrs::message_ = ""
int64 tensorflow::ops::Print::Attrs::summarize_ = 3
TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::FirstN( int64 x )
Only log first_n
number of times.
-1 disables logging.
Defaults to -1
TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Message( StringPiece x )
A string, prefix of the error message.
Defaults to ""
TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Summarize( int64 x )
Only print this many entries of each tensor.
Defaults to 3
© 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/struct/tensorflow/ops/print/attrs.html