See the guide: Control Flow > Debugging Operations
Returns which elements of x are Inf.
Tensor. Must be one of the following types:
name: A name for the operation (optional).
Tensor of type
Equivalent to np.isinf