#include <data_flow_ops.h>
Concat the elements from the TensorArray into value value
.
Takes T
elements of shapes
``` (n0 x d0 x d1 x ...), (n1 x d0 x d1 x ...), ..., (n(T-1) x d0 x d1 x ...) ```
and concatenates them into a Tensor of shape:
(n0 + n1 + ... + n(T-1) x d0 x d1 x ...)
All elements must have the same shape (excepting the first dimension).
Arguments:
Optional attributes (see Attrs
):
Returns:
Output
value: All of the elements in the TensorArray, concatenated along the first axis.Output
lengths: A vector of the row sizes of the original T elements in the value output. In the example above, this would be the values: (n1, n2, ..., n(T-1))
. Constructors and Destructors | |
---|---|
TensorArrayConcat(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input flow_in, DataType dtype) | |
TensorArrayConcat(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayConcat::Attrs & attrs) |
Public attributes | |
---|---|
lengths | |
value |
Public static functions | |
---|---|
ElementShapeExcept0(PartialTensorShape x) |
Structs | |
---|---|
tensorflow::ops::TensorArrayConcat::Attrs | Optional attribute setters for TensorArrayConcat. |
::tensorflow::Output lengths
::tensorflow::Output value
TensorArrayConcat( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input flow_in, DataType dtype )
TensorArrayConcat( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayConcat::Attrs & attrs )
Attrs ElementShapeExcept0( PartialTensorShape 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/tensor-array-concat.html