#include <string_ops.h>
Converts each entry in the given tensor to strings.
Supports many numeric
types and boolean.
Arguments:
Optional attributes (see Attrs
):
Returns:
Output
: The output tensor. Constructors and Destructors | |
---|---|
AsString(const ::tensorflow::Scope & scope, ::tensorflow::Input input) | |
AsString(const ::tensorflow::Scope & scope, ::tensorflow::Input input, const AsString::Attrs & attrs) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
Fill(StringPiece x) | |
Precision(int64 x) | |
Scientific(bool x) | |
Shortest(bool x) | |
Width(int64 x) |
Structs | |
---|---|
tensorflow::ops::AsString::Attrs | Optional attribute setters for AsString. |
::tensorflow::Output output
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const AsString::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs Fill( StringPiece x )
Attrs Precision( int64 x )
Attrs Scientific( bool x )
Attrs Shortest( bool x )
Attrs Width( int64 x )
© 2017 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/as-string.html