code: def _get_positional_input_params(
      schema, input_annotation_gen=_get_annotation_input_regular
  ):
      """Get the list of positional only inputs to the operator.
  
      Parameters
      ----------
      input_annotation_gen: Callable[[OpSchema], type annotation]
          Input type annotation, used to indicate regular inputs or multiple input set overloads.
          See _get_annotation_* functions.
      """
      param_list = []
      # If outputs are documented, list all of them
      if schema.HasInputDox():
          for i in range(schema.MaxNumInput()):
              param_list.append(
                  _get_positional_input_param(
                      schema, i, annotation=input_annotation_gen(schema)
                  )
              )
      else:
          # List all mandatory inputs
          for i in range(schema.MinNumInput()):
              param_list.append(
                  _get_positional_input_param(
                      schema, i, annotation=input_annotation_gen(schema)
                  )
              )
          # If they fit below limit, list all inputs (with optional ones)
          if schema.MaxNumInput() < _MAX_INPUT_SPELLED_OUT:
              for i in range(
                  schema.MinNumInput(), schema.MaxNumInput()
              ):
                  param_list.append(
                      _get_positional_input_param(
                          schema,
                          i,
                          annotation=input_annotation_gen(schema),
                      )
                  )
          # List the rest of optional inputs in general fashion
          elif schema.MaxNumInput() > schema.MinNumInput():
              # Note that the VAR_POSTIONAL annotation means that all arguments passed this way
              # have to conform to this type, it doesn't get a default None value as it already is
              # "empty" by default - def(*args = None) is invalid syntax.
              param_list.append(
                  Parameter(
                      _names._get_generic_input_name(
                          schema.MinNumInput() == 0
                      ),
                      Parameter.VAR_POSITIONAL,
                      annotation=Optional[input_annotation_gen(schema)],
                  )
              )
      return param_list
  
imports: from inspect import Parameter, Signature
  import ast
  import os
  from pathlib import Path
  from contextlib import closing
  from typing import Union, Optional
  from typing import Sequence, List, Any
  from nvidia.dali import backend
  from nvidia.dali import types
  from nvidia.dali.ops import _registry, _names, _docs
  from nvidia.dali import types
  from nvidia.dali import ops, fn
label_desc: Use image node_id 9 for calling a global function with example usage: _get_positional_input_params(schema, input_annotation_gen) and returns: param_list