#include <data_flow_ops.h>
An array of Tensors of given size.
Write data via Write and read via Read or Pack.
Arguments:
Optional attributes (see Attrs
):
Returns:
Output
handle: The handle to the TensorArray.Output
flow: A scalar used to control gradient flow. Constructors and Destructors | |
---|---|
TensorArray(const ::tensorflow::Scope & scope, ::tensorflow::Input size, DataType dtype) | |
TensorArray(const ::tensorflow::Scope & scope, ::tensorflow::Input size, DataType dtype, const TensorArray::Attrs & attrs) |
Public attributes | |
---|---|
flow | |
handle |
Public static functions | |
---|---|
ClearAfterRead(bool x) | |
DynamicSize(bool x) | |
ElementShape(PartialTensorShape x) | |
TensorArrayName(StringPiece x) |
Structs | |
---|---|
tensorflow::ops::TensorArray::Attrs | Optional attribute setters for TensorArray. |
::tensorflow::Output flow
::tensorflow::Output handle
TensorArray( const ::tensorflow::Scope & scope, ::tensorflow::Input size, DataType dtype )
TensorArray( const ::tensorflow::Scope & scope, ::tensorflow::Input size, DataType dtype, const TensorArray::Attrs & attrs )
Attrs ClearAfterRead( bool x )
Attrs DynamicSize( bool x )
Attrs ElementShape( PartialTensorShape x )
Attrs TensorArrayName( StringPiece 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.html