Spec-Zone.ru › TensorFlow C++ 2.3

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
::tensorflow::OutputList
operation
Operation
Публичные функции
operator[](size_t index) const
::tensorflow::Output
Публичные статические функции
TimeoutMs(int64 x)
Attrs
Структуры
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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API