tf.debugging.assert_all_finite
| Просмотреть исходный код на GitHub |
Проверить, что тензор не содержит NaN или Inf.
tf.debugging.assert_all_finite(
t=None, msg=None, name=None, x=None, message=None
)
| Аргументы | |
|---|---|
t | Тензор для проверки. |
msg | Сообщение для записи при ошибке. |
name | Имя для данной операции (необязательно). |
x | Псевдоним для t. |
message | Псевдоним для msg. |
| Возвращаемое значение | |
|---|---|
Тот же тензор, что и t. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/debugging/assert_all_finite