tensorflow:: אופס:: L2Loss

#include <nn_ops.h>

הפסד L2.

סיכום

מחשב חצי מנורמת L2 של טנזור ללא sqrt :

output = sum(t ** 2) / 2

טיעונים:

  • scope: אובייקט Scope
  • t: בדרך כלל דו מימד, אך עשוי להיות כל מימד.

החזרות:

בנאים והורסים

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