tensorflow:: ops:: IsFinite
#include <math_ops.h>xのどの要素が有限であるかを返します。
まとめ
(numpy) np.isfinite と同等
例:
x = tf.constant([5.0, 4.8, 6.8, np.inf, np.nan]) tf.math.is_finite(x) ==> [True, True, True, False, False]
議論:
- スコープ:スコープオブジェクト
返品:
-
Output:yテンソル。
コンストラクターとデストラクタ | |
|---|---|
IsFinite (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
公的機能
有限
IsFinite( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const