tensorflow:: אופס:: L2Loss
#include <nn_ops.h>
הפסד L2.
תַקצִיר
מחשב חצי מנורמת L2 של טנזור ללא sqrt
:
output = sum(t ** 2) / 2
טיעונים:
- scope: אובייקט Scope
- t: בדרך כלל דו מימד, אך עשוי להיות כל מימד.
החזרות:
-
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
תפקידים ציבוריים
L2Loss
L2Loss( const ::tensorflow::Scope & scope, ::tensorflow::Input t )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const