code: def apply_conditional_split_to_args(inputs, kwargs):
      """Preprocess the inputs and kwargs of the operator to obtain correctly split inputs for the
      current if scope."""
      inputs = apply_conditional_split_to_branch_outputs(inputs, False)
      for key, arg in kwargs.items():
          if isinstance(arg, _DataNode):
              kwargs[key] = apply_conditional_split(arg)
      return inputs, kwargs
  
imports: from nvidia.dali import _autograph
  from nvidia.dali.data_node import DataNode
  from nvidia.dali import fn
  from nvidia.dali._autograph.utils import ag_logging
  from nvidia.dali._autograph.operators import variables
  from contextlib import contextmanager
  from enum import Enum
  import tree
label_desc: Use image node_id 12 for calling a global function with example usage: apply_conditional_split_to_args(inputs, kwargs) and returns: inputs,  kwargs