code: def select(
      ops: List[Augmentation],
      selected_op_idx: _DataNode,
      *op_args,
      **op_kwargs,
  ):
      """
      Applies the operator from the operators list based on the provided index as if by calling
      `ops[selected_op_idx](**op_kwargs)`.
  
      The `selected_op_idx` must be a batch of indices from [0, len(ops) - 1] range. The `op_kwargs`
      can contain other data nodes, they will be split into partial batches accordingly.
      """
      return split_samples_among_ops(
          0, len(ops) - 1, ops, selected_op_idx, op_args, op_kwargs
      )
  
imports: from typing import List
  from nvidia.dali.data_node import DataNode
  from nvidia.dali.auto_aug.core._augmentation import Augmentation
label_desc: Use image node_id 2 for calling a global function with example usage: select(ops, selected_op_idx) and returns: split_samples_among_ops