tensorflow::ops::IsInf
#include <math_ops.h>x'in hangi elemanlarının sonsuz (Inf) olduğunu döndürür.
Özet
(numpy) np.isinf'e eşdeğerdir.
Örnek:
x = tf.constant([5.0, np.inf, 6.8, np.inf]) tf.math.is_inf(x) ==> [False, True, False, True]
Argümanlar:
- kapsam: Bir Kapsam nesnesi
İadeler:
-
Output: Y tensörü.
Yapıcılar ve Yıkıcılar | |
|---|---|
IsInf (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
IsInf
IsInf( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
düğüm
::tensorflow::Node * node() const
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const