tensorflow :: ops :: QueueClose
#include <data_flow_ops.h>
指定されたキューを閉じます。
概要
この操作は、指定されたキューにこれ以上要素がエンキューされないことを示します。後続のEnqueue(Many)操作は失敗します。十分な要素がキューに残っている場合、後続のDequeue(Many)操作は引き続き成功します。ブロックする後続のDequeue(Many)操作は、すぐに失敗します。
引数:
- スコープ:スコープオブジェクト
- handle:キューへのハンドル。
オプションの属性(参照Attrs
):
- cancel_pending_enqueues:trueの場合、指定されたキューでブロックされているすべての保留中のエンキュー要求はキャンセルされます。
戻り値:
- 作成された
Operation
コンストラクタとデストラクタ | |
---|---|
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
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
QueueClose
QueueClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const QueueClose::Attrs & attrs )
operator :: tensorflow :: Operation
operator::tensorflow::Operation() const
パブリック静的関数
CancelPendingEnqueues
Attrs CancelPendingEnqueues( bool x )