code: def check_tolerance(ftol, xtol, gtol):
      message = "{} is too low, setting to machine epsilon {}."
      if ftol < EPS:
          warn(message.format("`ftol`", EPS))
          ftol = EPS
      if xtol < EPS:
          warn(message.format("`xtol`", EPS))
          xtol = EPS
      if gtol < EPS:
          warn(message.format("`gtol`", EPS))
          gtol = EPS
  
      return ftol, xtol, gtol
  
imports: from __future__ import division, print_function, absolute_import
  from warnings import warn
  import numpy
  from numpy.linalg import norm
  from scipy.sparse import issparse, csr_matrix
  from scipy.sparse.linalg import LinearOperator
  from scipy.optimize import _minpack, OptimizeResult
  from scipy.optimize._numdiff import approx_derivative, group_columns
  from scipy._lib.six import string_types
  from .trf import trf
  from .dogbox import dogbox
  from .common import EPS, in_bounds, make_strictly_feasible
label_desc: Use image node_id 3 for calling a global function with example usage: check_tolerance(ftol, xtol, gtol) and returns: ftol,  xtol,  gtol