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

تينسورفلو :: العمليات :: تحقق الأعداد

#include <array_ops.h>

يتحقق من موتر لقيم NaN و Inf.

ملخص

عند تشغيل، وتقارير و InvalidArgument الخطأ إذا tensor ديه أي القيم التي لا عدد (نان) أو ما لا نهاية (المشاة). خلاف ذلك ، تمرير tensor كما هو.

الحجج:

  • النطاق: كائن النطاق
  • الرسالة: بادئة رسالة الخطأ.

عائدات:

  • Output : موتر الإخراج.

البنائين والمدمرين

CheckNumerics (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor, StringPiece message)

السمات العامة

operation
output

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

السمات العامة

عملية

Operation operation

انتاج

::tensorflow::Output output

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

تحقق الأعداد

 CheckNumerics(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  StringPiece message
)

العقدة

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const