aliran tensor:: operasi:: L2Kerugian
#include <nn_ops.h>
L2 Kerugian.
Ringkasan
Menghitung setengah norma L2 tensor tanpa sqrt
:
output = sum(t ** 2) / 2
Argumen:
- ruang lingkup: Objek Lingkup
- t: Biasanya 2-D, tetapi bisa memiliki dimensi apa pun.
Pengembalian:
-
Output
: 0-D.
Konstruktor dan Destruktor | |
---|---|
L2Loss (const :: tensorflow::Scope & scope, :: tensorflow::Input t) |
Atribut publik | |
---|---|
operation | |
output |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
L2Kerugian
L2Loss( const ::tensorflow::Scope & scope, ::tensorflow::Input t )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Masukan
operator::tensorflow::Input() const
operator::tensorflow::Keluaran
operator::tensorflow::Output() const