tensorflow::ops::TensorArraySplit
#include <data_flow_ops.h>
Разделить данные из входного значения на элементы массива тензоров.
Краткое описание
Предполагая, что lengths принимает значения
(n0, n1, ..., n(T-1))
and that `value` has shape (n0 + n1 + ... + n(T-1) x d0 x d1 x ...)```, this splits values into a TensorArray with T tensors. TensorArray index t will be the subtensor of values with starting position ```(n0 + n1 + ... + n(t-1), 0, 0, ...) and having size nt x d0 x d1 x ...``` Arguments:
- scope: Объект области
- handle: Детектор массива тензоров.
- value: Объединенный тензор для записи в массив тензоров.
- lengths: Вектор длин, как разделить строки значения на массив тензоров.
- flow_in: Вещественный скаляр, который обеспечивает правильное цепное выполнение операций.
Возвращает:
-
Output: Вещественный скаляр, который обеспечивает правильное цепное выполнение операций.
| Конструкторы и деструкторы | |
|---|---|
TensorArraySplit(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input value, ::tensorflow::Input lengths, ::tensorflow::Input flow_in) |
| Общедоступные атрибуты | |
|---|---|
flow_out | |
operation | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
flow_out
::tensorflow::Output flow_out
операция
Operation operation
Общедоступные функции
TensorArraySplit
TensorArraySplit( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, ::tensorflow::Input value, ::tensorflow::Input lengths, ::tensorflow::Input flow_in )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Вход
operator::tensorflow::Input() const
оператор::tensorflow::Выход
operator::tensorflow::Output() const
© 2020 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/versions/r2.4/api_docs/cc/class/tensorflow/ops/tensor-array-split