نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: L2Loss

#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

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

L2Loss

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

العقدة

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const