W3cubDocs

/TensorFlow C++

tensorflow::ops::TensorArrayGather::Attrs

#include <data_flow_ops.h>

Optional attribute setters for TensorArrayGather.

Summary

Public attributes
element_shape_ = ::tensorflow::PartialTensorShape()
PartialTensorShape
Public functions
ElementShape(PartialTensorShape x)
TF_MUST_USE_RESULT Attrs
The expected shape of an element, if known.

Public attributes

element_shape_

PartialTensorShape tensorflow::ops::TensorArrayGather::Attrs::element_shape_ = ::tensorflow::PartialTensorShape()

Public functions

ElementShape

TF_MUST_USE_RESULT Attrs tensorflow::ops::TensorArrayGather::Attrs::ElementShape(
  PartialTensorShape x
)

The expected shape of an element, if known.

Used to validate the shapes of TensorArray elements. If this shape is not fully specified, gathering zero-size TensorArrays is an error.

Defaults to

© 2018 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/struct/tensorflow/ops/tensor-array-gather/attrs.html