tensorflow:: ops:: 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(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  StringPiece message
)

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const