tensorflow:: ops:: QueueClose

#include <data_flow_ops.h>

指定されたキューを閉じます。

まとめ

この操作は、指定されたキューにこれ以上要素が追加されないことを示します。以降のEnqueue(Many)操作は失敗します。キューに十分な要素が残っている場合は、以降のDequeue(Many)操作は引き続き成功します。ブロックする可能性のある以降のDequeue(Many)操作は即座に失敗します。

議論:

  • スコープ:スコープオブジェクト
  • handle: キューへのハンドル。

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

  • cancel_pending_enqueues: true の場合、指定されたキューでブロックされている保留中のエンキュー要求はすべてキャンセルされます。

返品:

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

QueueClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle)
QueueClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, const QueueClose::Attrs & attrs)

公開属性

operation

公的機能

operator::tensorflow::Operation () const

パブリック静的関数

CancelPendingEnqueues (bool x)

構造

tensorflow:: ops:: QueueClose:: Attrs

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

公開属性

手術

Operation operation

公的機能

キューを閉じる

 QueueClose(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle
)

キューを閉じる

 QueueClose(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  const QueueClose::Attrs & attrs
)

オペレーター::tensorflow::Operation

 operator::tensorflow::Operation() const 

パブリック静的関数

保留中のエンキューをキャンセル

Attrs CancelPendingEnqueues(
  bool x
)