টেনসরফ্লো :: অপস:: L2 ক্ষতি

#include <nn_ops.h>

L2 ক্ষতি।

সারসংক্ষেপ

sqrt ছাড়া একটি টেনসরের L2 আদর্শের অর্ধেক গণনা করে :

output = sum(t ** 2) / 2

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • t: সাধারণত 2-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

পাবলিক ফাংশন

L2 ক্ষতি

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

নোড

::tensorflow::Node * node() const 

অপারেটর::টেনসরফ্লো::ইনপুট

 operator::tensorflow::Input() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const