Tighten error tolerances for various functions, especially on TPUs starting with TPUv6.
Tighten error tolerances for various functions, especially on TPUs starting with TPUv6.
Add range checking for several function.
