#include <string_ops.h>
Formats a string template using a list of tensors.
Formats a string template using a list of tensors, pretty-printing tensor summaries.
Arguments:
Optional attributes (see Attrs
):
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::ops::StringFormat::Attrs | Optional attribute setters for StringFormat. |
Operation operation
::tensorflow::Output output
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Placeholder( StringPiece x )
Attrs Summarize( int64 x )
Attrs Template( StringPiece x )
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/string-format