code: def _callable_op_factory(
      op_class, op_name, num_inputs, call_args_names
  ):
      class EagerOperator(
          _eager_op_base_factory(
              op_class, op_name, num_inputs, call_args_names
          )
      ):
          def __call__(self, inputs, kwargs):
              # Here all kwargs are supposed to be TensorLists.
              output = self._backend_op(inputs, kwargs)
  
              if len(output) == 1:
                  return output[0]
  
              return output
  
      return EagerOperator
  
imports: import sys
  from nvidia.dali import backend
  from nvidia.dali import internal
  from nvidia.dali import ops
  from nvidia.dali import tensors
  from nvidia.dali import types
  from nvidia.dali.external_source import _prep_data_for_feed_input
label_desc: Use image node_id 35 for calling a global function with example usage: _callable_op_factory(op_class, op_name, num_inputs, call_args_names) and returns: EagerOperator, output, output