tensorflow :: ops :: IsFinite
#include <math_ops.h>
X'in hangi elemanlarının sonlu olduğunu döndürür.
Özet
(numpy) np.isfinite ile eşdeğerdir
Misal:
x = tf.constant([5.0, 4.8, 6.8, np.inf, np.nan]) tf.math.is_finite(x) ==> [True, True, True, False, False]
Argümanlar:
- kapsam: Bir Scope nesnesi
İadeler:
-
Output
: y tensörü.
Yapıcılar ve Yıkıcılar | |
---|---|
IsFinite (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Genel özellikler | |
---|---|
operation | |
y |
Kamusal işlevler | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Genel özellikler
operasyon
Operation operation
y
::tensorflow::Output y
Kamusal işlevler
IsFinite
IsFinite( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
düğüm
::tensorflow::Node * node() const
operator :: tensorflow :: Girdi
operator::tensorflow::Input() const
operator :: tensorflow :: Çıktı
operator::tensorflow::Output() const