tensorflow::ops::QueueDequeue
#include <data_flow_ops.h>
Выталкивает кортеж одного или нескольких тензоров из заданной очереди.
Summary
Данная операция имеет 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 )
© 2020 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/versions/r2.3/api_docs/cc/class/tensorflow/ops/queue-dequeue