tensorflow:: ops:: QueueDequeueMany

#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 

パブリック静的関数

タイムアウトMs

Attrs TimeoutMs(
  int64 x
)