code: def nonlinearity_1d(input_ind):
      def handler(explainer, op, *grads):
          return nonlinearity_1d_handler(
              input_ind, explainer, op, *grads
          )
  
      return handler
  
imports: import warnings
  import numpy
  from packaging import version
  from ...utils._exceptions import DimensionError
  from .._explainer import Explainer
  from ..tf_utils import _get_graph, _get_model_inputs, _get_model_output, _get_session
  from .deep_utils import _check_additivity
label_desc: Use image node_id 10 for calling a global function with example usage: nonlinearity_1d(input_ind) and returns: handler, nonlinearity_1d_handler