tensorflow:: אופס:: IsInf
#include <math_ops.h>
מחזירה אילו רכיבים של x הם Inf.
סיכום
(numpy) שווה ערך לnp.isinf
דוגמא:
x = tf.constant([5.0, np.inf, 6.8, np.inf]) tf.math.is_inf(x) ==> [False, True, False, True]
טיעונים:
- scope: אובייקט Scope
החזרות:
-
Output
: הטנסור y.
בנאים והורסים | |
---|---|
IsInf (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
תכונות ציבוריות | |
---|---|
operation | |
y |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
תכונות ציבוריות
מבצע
Operation operation
y
::tensorflow::Output y
תפקידים ציבוריים
IsInf
IsInf( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
צוֹמֶת
::tensorflow::Node * node() const
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[]
[]