tensorflow::ops::QueueDequeue
#include <data_flow_ops.h>
Выталкивает кортеж из одного или нескольких тензоров из заданной очереди.
Summary
Данная операция имеет k выходов, где k — количество компонентов в кортежах, хранящихся в заданной очереди, и выход i — i-й компонент выталкиваемого кортежа.
Обратите внимание. Если очередь пуста, эта операция будет блокироваться до тех пор, пока элемент не будет вытолкнута (или истечёт время ожидания 'timeout_ms', если оно указано).
Args:
- scope: Объект Scope
- handle: Дескриптор очереди.
- component_types: Тип каждого компонента в кортеже.
Необязательные атрибуты (см. Attrs):
- timeout_ms: Если очередь пуста, эта операция будет блокироваться до истечения timeout_ms миллисекунд. Примечание: этот параметр пока не поддерживается.
Returns:
-
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/api_docs/cc/class/tensorflow/ops/queue-dequeue