przepływ tensorowy:: ops:: Czy Nan
#include <math_ops.h>
Zwraca, które elementy x są NaN.
Streszczenie
(numpy) Odpowiednik np.isnan
Przykład:
x = tf.constant([5.0, np.nan, 6.8, np.nan, np.inf])
tf.math.is_nan(x) ==> [False, True, False, True, False]
Argumenty:
- zakres: Obiekt Scope
Zwroty:
-
Output
: tensor y.
Konstruktory i destruktory | |
---|---|
IsNan (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Atrybuty publiczne
działanie
Operation operation
y
::tensorflow::Output y
Funkcje publiczne
Czy Nan
IsNan(
const ::tensorflow::Scope & scope,
::tensorflow::Input x
)
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Wejście
operator::tensorflow::Input() const
operator::tensorflow::Wyjście
operator::tensorflow::Output() const