تدفق التوتر:: العمليات:: CheckNumerics

#include <array_ops.h>

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

ملخص

عند التشغيل، يُبلغ عن خطأ InvalidArgument إذا كان tensor أي قيم ليست رقمًا (NaN) أو ما لا نهاية (Inf). وبخلاف ذلك، يمرر 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

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

العقدة

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const