fix_overflow
Ensures to fix infinite and not a number values.
Example:
x = fix_overflow(x)
x (Tensor) – Tensor with nan and inf values
Tensor
Tensor without inf and nan values