tensorflow::ops::TensorArrayGather
#include <data_flow_ops.h>
Gather конкретные элементы из TensorArray в выходные value.
Краткое описание
Все выбранные элементы indices должны иметь одинаковую форму.
Аргументы:
- scope: Объект Scope
- handle: Обработка TensorArray.
- indices: Места в TensorArray для чтения элементов тензора.
- flow_in: Вещественный скаляр, который обеспечивает надлежащую цепочку операций.
- dtype: Тип возвращаемого elem.
Дополнительные атрибуты (см. Attrs):
- element_shape: Ожидаемая форма элемента, если она известна. Используется для проверки форм элементов TensorArray. Если эта форма не полностью определена, сборка тензорных массивов нулевого размера является ошибкой.
Возвращаемое значение:
-
Output: Все элементы в TensorArray, конкатенированные вдоль новой оси (новая размерность 0).
| Конструкторы и деструкторы | |
|---|---|
TensorArrayGather(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype) | |
TensorArrayGather(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs) |
| Публичные атрибуты | |
|---|---|
operation | |
value | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Публичные статические функции | |
|---|---|
ElementShape(PartialTensorShape x) | |
| Структуры | |
|---|---|
| tensorflow::ops::TensorArrayGather::Attrs | Дополнительные параметры настройки для TensorArrayGather. |
Публичные атрибуты
operation
Operation operation
значение
::tensorflow::Output value
Публичные функции
TensorArrayGather
TensorArrayGather( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype )
TensorArrayGather
TensorArrayGather( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input indices, ::tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Input
operator::tensorflow::Input() const
оператор::tensorflow::Вывод
operator::tensorflow::Output() const
Публичные статические функции
Форма элемента
Attrs ElementShape( PartialTensorShape x )
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/tensor-array-gather