テンソルフロー::作戦:: L2ロス
#include <nn_ops.h>L2 損失。
まとめ
sqrt使用せずにテンソルの L2 ノルムの半分を計算します。
output = sum(t ** 2) / 2
引数:
- スコープ:スコープオブジェクト
- t: 通常は 2 次元ですが、任意の次元を持つことができます。
戻り値:
-  Output: 0-D。
| コンストラクターとデストラクター | |
|---|---|
| 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
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const