Spec-Zone.ru › TensorFlow C++

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]

Аргументы:

  • scope: Объект Scope

Возвращает:

  • Output: Тензор y.
Конструкторы и деструкторы
IsFinite(const ::tensorflow::Scope & scope, ::tensorflow::Input x)
Общедоступные атрибуты
operation
Operation
y
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Общедоступные атрибуты

operation

Operation operation

y

::tensorflow::Output y

Общедоступные функции

IsFinite

 IsFinite(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Input

operator::tensorflow::Input() const 

оператор::tensorflow::Вывод

operator::tensorflow::Output() const 

© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/is-finite

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API