テンソルフロー::作戦::キューデキュー多く

#include <data_flow_ops.h>

指定されたキューから 1 つ以上のテンソルのnタプルをデキューします。

まとめ

キューが閉じていて要素がn未満の場合は、OutOfRange エラーが返されます。

この操作は、キュー要素のコンポーネント テンソルを 0 次元に沿って連結して、単一のコンポーネント テンソルを作成します。デキューされたタプル内のすべてのコンポーネントは、0 次元のサイズnを持ちます。

この操作にはk個の出力があります。ここで、 kは指定されたキューに格納されているタプルのコンポーネントの数、出力iはデキューされたタプルの i 番目のコンポーネントです。

注意: キューが空の場合、 n要素がキューから取り出されるまで (または、指定されている場合は「timeout_ms」が経過するまで)、この操作はブロックされます。

引数:

  • スコープ:スコープオブジェクト
  • handle: キューへのハンドル。
  • n: デキューするタプルの数。
  • Component_types: タプル内の各コンポーネントのタイプ。

オプションの属性 ( Attrsを参照):

  • timeout_ms: キューの要素が n 未満の場合、この操作は最大 timeout_ms ミリ秒間ブロックされます。注: このオプションはまだサポートされていません。

戻り値:

  • OutputList : タプルとしてデキューされた 1 つ以上のテンソル。

コンストラクターとデストラクター

QueueDequeueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input n, const DataTypeSlice & component_types)
QueueDequeueMany (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input n, const DataTypeSlice & component_types, const QueueDequeueMany::Attrs & attrs)

パブリック属性

components
operation

公共機能

operator[] (size_t index) const

パブリック静的関数

TimeoutMs (int64 x)

構造体

tensorflow:: ops:: QueueDequeueMany:: Attrs

QueueDequeueManyのオプションの属性セッター。

パブリック属性

コンポーネント

::tensorflow::OutputList components

手術

Operation operation

公共機能

キューデキュー多く

 QueueDequeueMany(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input n,
  const DataTypeSlice & component_types
)

キューデキュー多く

 QueueDequeueMany(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input n,
  const DataTypeSlice & component_types,
  const QueueDequeueMany::Attrs & attrs
)

オペレーター[]

::tensorflow::Output operator[](
  size_t index
) const 

パブリック静的関数

タイムアウトさん

Attrs TimeoutMs(
  int64 x
)