tensorflow:: אופס:: CheckNumerics
#include <array_ops.h>
בודק טנזור לערכי NaN ו-Inf.
תַקצִיר
בעת הפעלה, מדווח על שגיאת InvalidArgument
אם tensor
יש ערכים שאינם מספר (NaN) או אינסוף (Inf). אחרת, מעביר את tensor
כפי שהוא.
טיעונים:
- scope: אובייקט Scope
- הודעה: קידומת של הודעת השגיאה.
החזרות:
-
Output
: טנסור הפלט.
בנאים והורסים | |
---|---|
CheckNumerics (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor, StringPiece message) |
תפקידים ציבוריים | |
---|---|
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