code: def compute_input_params_data(
      input_data: ArgData, rng, input_params: List[ArgCb]
  ):
      def input_param_data(arg_cb):
          assert arg_cb.desc.expandable_prefix in ["", "F"]
          if arg_cb.desc.expandable_prefix == "F":
              return get_input_arg_per_frame(
                  input_data,
                  arg_cb.cb,
                  rng,
                  not arg_cb.desc.is_positional_arg,
              )
          return get_input_arg_per_sample(input_data, arg_cb.cb, rng)
  
      return [
          ArgData(desc=arg_cb.desc, data=input_param_data(arg_cb))
          for arg_cb in input_params
      ]
  
imports: import os
  import random
  import numpy
  from typing import List, Union, Callable, Optional
  from dataclasses import dataclass, field
  from nvidia.dali import pipeline_def
  import nvidia.dali.fn
  from nvidia.dali import types
  import nvidia.dali.tensors
  from test_utils import get_dali_extra_path, check_batch
label_desc: Use image node_id 12 for calling a global function with example usage: compute_input_params_data(input_data, rng, input_params) and returns: unknown, get_input_arg_per_sample, get_input_arg_per_frame