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