TensorFlow

API

 tf.debugging / check_numerics


Returns True if the elements of tensor are numbers.

Specifically, returns True if the dtype of tensor is one of the following:

Returns False if tensor is of a non-numeric type or if tensor is not a tf.Tensor object.


此页内容是否对您有帮助