tensorflow::ops::QueueDequeue
#include <data_flow_ops.h>
Декодирует кортеж из одного или нескольких тензоров из заданного очереди.
Краткое описание
Данная операция имеет k выходов, где k — количество компонентов в кортежах, хранящихся в заданной очереди, и выход i — это i-й компонент декодированного кортежа.
Примечание. Если очередь пуста, эта операция будет блокироваться до тех пор, пока элемент не будет декодирован (или не истечёт время ожидания 'timeout_ms', если оно указано).
Аргументы:
- scope: Объект Scope
- handle: Указатель на очередь.
- component_types: Тип каждого компонента в кортеже.
Дополнительные атрибуты (см. Attrs):
- timeout_ms: Если очередь пуста, эта операция будет блокироваться до истечения timeout_ms миллисекунд. Примечание: этот параметр пока не поддерживается.
Возвращает:
-
OutputList: Один или несколько тензоров, которые были декодированы как кортеж.
| Конструкторы и деструкторы | |
|---|---|
QueueDequeue(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const DataTypeSlice & component_types) | |
QueueDequeue(const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const DataTypeSlice & component_types, const QueueDequeue::Attrs & attrs) |
| Общедоступные атрибуты | |
|---|---|
components | |
operation | |
| Общедоступные функции | |
|---|---|
operator[](size_t index) const | |
| Общедоступные статические функции | |
|---|---|
TimeoutMs(int64 x) | |
| Структуры | |
|---|---|
| tensorflow::ops::QueueDequeue::Attrs | Дополнительные атрибуты для установки для QueueDequeue. |
Общедоступные атрибуты
components
::tensorflow::OutputList components
operation
Operation operation
Общедоступные функции
QueueDequeue
QueueDequeue( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const DataTypeSlice & component_types )
QueueDequeue
QueueDequeue( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const DataTypeSlice & component_types, const QueueDequeue::Attrs & attrs )
operator[]
::tensorflow::Output operator[]( size_t index ) const
Общедоступные статические функции
TimeoutMs
Attrs TimeoutMs( int64 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/versions/r2.9/api_docs/cc/class/tensorflow/ops/queue-dequeue