tensorflow:: ops:: StringJoin
#include <string_ops.h>
Joins the strings in the given list of string tensors into one tensor;.
Summary
with the given separator (default is an empty separator).
Examples:
s = ["hello", "world", "tensorflow"] tf.strings.join(s, " ")
Args:
- scope: A Scope object
- inputs: A list of string tensors. The tensors must all have the same shape, or be scalars. Scalars may be mixed in; these will be broadcast to the shape of non-scalar inputs.
Optional attributes (see Attrs
):
- separator: string, an optional join separator.
Returns:
Output
: The output tensor.
Constructors and Destructors |
|
---|---|
StringJoin(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs)
|
|
StringJoin(const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringJoin::Attrs & attrs)
|
Public attributes |
|
---|---|
operation
|
|
output
|
Public functions |
|
---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Public static functions |
|
---|---|
Separator(StringPiece x)
|
Structs |
|
---|---|
tensorflow:: |
Optional attribute setters for StringJoin. |
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
StringJoin
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringJoin
StringJoin( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringJoin::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
Separator
Attrs Separator( StringPiece x )