Spec-Zone.ru › TensorFlow C++ 1.15

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/r1.15/api_docs/cc/class/tensorflow/ops/queue-dequeue

Spec-Zone.ru

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