code: def _find_nonzero_rows(A, tol):
      """
      Returns logical array indicating the locations of rows with at least
      one nonzero element.
      """
      return np.any(np.abs(A) > tol, axis=1)
  
file_path: catboost/contrib/python/scipy/py3/scipy/optimize/_linprog_rs.py
imports: import numpy
  from scipy.linalg import solve
  from .optimize import _check_unknown_options
  from ._bglu_dense import LU
  from ._bglu_dense import BGLU
  from scipy.linalg import LinAlgError
  from numpy.linalg.linalg import LinAlgError
  from ._linprog_util import _postsolve
  from .optimize import OptimizeResult
label_desc: Use image node_id 5 for calling a global function with example usage: _find_nonzero_rows(A, tol) and returns: np