tensorflow:: ops:: StringFormat
#include <string_ops.h>
Formats a string template using a list of tensors.
Summary
Formats a string template using a list of tensors, pretty-printing tensor summaries.
Args:
- scope: A Scope object
- inputs: The list of tensors to format into the placeholder string.
Optional attributes (see Attrs
):
- template_: A string, the template to format tensor summaries into.
- placeholder: A string, at each placeholder in the template a subsequent tensor summary will be inserted.
- summarize: When formatting the tensor summaries print the first and last summarize entries of each tensor dimension.
Returns:
Output
: = The resulting string scalar.
Constructors and Destructors |
|
---|---|
StringFormat(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs)
|
|
StringFormat(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs)
|
Public attributes |
|
---|---|
operation
|
|
output
|
Public functions |
|
---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Public static functions |
|
---|---|
Placeholder(StringPiece x)
|
|
Summarize(int64 x)
|
|
Template(StringPiece x)
|
Structs |
|
---|---|
tensorflow:: |
Optional attribute setters for StringFormat. |
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Placeholder
Attrs Placeholder( StringPiece x )
Summarize
Attrs Summarize( int64 x )
Template
Attrs Template( StringPiece x )