tensorflow:: ops:: BarrierClose
#include <data_flow_ops.h>指定された障壁を閉じます。
まとめ
この操作は、指定されたバリアにこれ以上新しい要素が挿入されないことを示します。新しいキーを導入しようとする後続の InsertMany 操作は失敗します。既存の要素に不足しているコンポーネントを追加するだけの後続の InsertMany 操作は引き続き成功します。バリア内に十分な数の完了済み要素が残っている場合、後続の TakeMany 操作は引き続き成功します。ブロックする可能性のある後続の TakeMany 操作は即座に失敗します。
議論:
- スコープ:スコープオブジェクト
- 取っ手:障壁の取っ手。
オプション属性( Attrs参照):
- cancel_pending_enqueues: true の場合、バリアのキューでブロックされている保留中のエンキュー要求はすべてキャンセルされます。新しいキーが追加されなくても、InsertMany は失敗します。
返品:
- 作成された
Operation
コンストラクターとデストラクタ | |
|---|---|
BarrierClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle) | |
BarrierClose (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, const BarrierClose::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
公的機能 | |
|---|---|
operator::tensorflow::Operation () const | |
パブリック静的関数 | |
|---|---|
CancelPendingEnqueues (bool x) | |
構造 | |
|---|---|
| tensorflow:: ops:: BarrierClose:: Attrs | BarrierCloseのオプション属性セッター。 |
公開属性
手術
Operation operation
公的機能
バリアクローズ
BarrierClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle )
バリアクローズ
BarrierClose( const ::tensorflow::Scope & scope, ::tensorflow::Input handle, const BarrierClose::Attrs & attrs )
オペレーター::tensorflow::Operation
operator::tensorflow::Operation() const
パブリック静的関数
保留中のエンキューをキャンセル
Attrs CancelPendingEnqueues( bool x )