(self, y0, y1)
return error_ratio < 1
Checks that each element is within the error tolerance.
Checks that each element is within the error tolerance.
Checks that each element is within the error tolerance .
def _has_converged(self, y0, y1):
        """Checks that each element is within the error tolerance."""
        error_ratio = _compute_error_ratio(torch.abs(y0 - y1), self.rtol, self.atol, y0, y1, _linf_norm)
        return error_ratio < 1
def _has_converged ( self , y0 , y1 ) : error_ratio = _compute_error_ratio ( torch . abs ( y0 - y1 ) , self . rtol , self . atol , y0 , y1 , _linf_norm ) return error_ratio < 1