tensorflow:: ops:: L2Loss
#include <nn_ops.h>L2損失。
まとめ
sqrtを除いたテンソルのL2ノルムの半分を計算します。
output = sum(t ** 2) / 2
議論:
- スコープ:スコープオブジェクト
- t: 通常は2次元だが、任意の次元を持つことができる。
返品:
-
Output:0次元。
コンストラクターとデストラクタ | |
|---|---|
L2Loss (const :: tensorflow::Scope & scope, :: tensorflow::Input t) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
L2損失
L2Loss( const ::tensorflow::Scope & scope, ::tensorflow::Input t )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const