Spec-Zone.ru › TensorFlow

tf.keras.ops.isfinite

Return whether a tensor is finite, element-wise.

View aliases

Main aliases

tf.keras.ops.numpy.isfinite

tf.keras.ops.isfinite(
    x
)

Real values are finite when they are not NaN, not positive infinity, and not negative infinity. Complex values are finite when both their real and imaginary parts are finite.

Args
x Input tensor.
Returns
Output boolean tensor.

© 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/python/tf/keras/ops/isfinite

Spec-Zone.ru

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