See the guide: Control Flow > Debugging Operations

Connect a check_numerics to every floating point tensor.

check_numerics operations themselves are added for each half, float, or double tensor in the graph. For all ops in the graph, the check_numerics op for all of its (half, float, or double) inputs is guaranteed to run before the check_numerics op on any of its outputs.


A group op depending on all check_numerics ops added.

Defined in tensorflow/python/ops/