テンソルフロー::作戦::割り当て追加
#include <state_ops.h>「value」を追加して「ref」を更新します。
まとめ
この操作では、更新完了後に「ref」が出力されます。これにより、リセット値を使用する必要がある操作をチェーンすることが容易になります。
引数:
オプションの属性 ( Attrsを参照):
- use_locking: True の場合、追加はロックによって保護されます。それ以外の場合、動作は未定義ですが、競合が少なくなる可能性があります。
戻り値:
-  Output: = 「ref」と同じ。変数が更新された後に新しい値を使用する操作の便宜のために返されます。
| コンストラクターとデストラクター | |
|---|---|
| AssignAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value) | |
| AssignAdd (const :: tensorflow::Scope & scope, :: tensorflow::Input ref, :: tensorflow::Input value, const AssignAdd::Attrs & attrs) | 
| パブリック属性 | |
|---|---|
| operation | |
| output_ref | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| パブリック静的関数 | |
|---|---|
| UseLocking (bool x) | |
| 構造体 | |
|---|---|
| tensorflow:: ops:: AssignAdd:: Attrs | AssignAddのオプションの属性セッター。 | 
パブリック属性
手術
Operation operation
出力参照
::tensorflow::Output output_ref
公共機能
割り当て追加
AssignAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input value )
割り当て追加
AssignAdd( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input value, const AssignAdd::Attrs & attrs )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
ロックを使用する
Attrs UseLocking( bool x )