code: def _str_to_tuple(s):
      if isinstance(s, tuple):
          return s
      return tuple([int(i) for i in s.split()])
  
file_path: captum/captum/insights/attr_vis/config.py
imports: from typing import Any, Callable, Dict, List, NamedTuple, Optional, Tuple, Union
  from captum.attr import Deconvolution, DeepLift, FeatureAblation, GuidedBackprop, InputXGradient, IntegratedGradients, Occlusion, Saliency
  from captum.attr._utils.approximation_methods import SUPPORTED_METHODS
label_desc: Use image node_id 1 for calling a global function with example usage: _str_to_tuple(s) and returns: tuple, s