تدفق التوتر:: العمليات:: L2خسارة

#include <nn_ops.h>

خسارة L2.

ملخص

يحسب نصف معيار L2 للموتر بدون sqrt :

output = sum(t ** 2) / 2

الحجج:

  • النطاق: كائن النطاق
  • 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

الوظائف العامة

L2خسارة

 L2Loss(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input t
)

العقدة

::tensorflow::Node * node() const 

المشغل::tensorflow::الإدخال

 operator::tensorflow::Input() const 

المشغل::tensorflow::الإخراج

 operator::tensorflow::Output() const