code: def _wrap_eager_op(
      op_class,
      submodules,
      parent_module,
      wrapper_name,
      wrapper_doc,
      make_hidden,
  ):
      """Exposes eager operator to the appropriate module
      (similar to :func:`nvidia.dali.fn._wrap_op`).
      Uses ``op_class`` for preprocessing inputs and keyword arguments and filling OpSpec for backend
      eager operators.
  
      Args:
          op_class: Op class to wrap.
          submodule: Additional submodule (scope).
          parent_module (str): If set to None, the wrapper is placed in nvidia.dali.experimental.eager
              module, otherwise in a specified parent module.
          wrapper_name: Wrapper name (the same as in fn API).
          wrapper_doc (str): Documentation of the wrapper function.
          make_hidden (bool): If operator is hidden, we should extract it from hidden submodule.
      """
  
      op_name = op_class.schema_name
      op_schema = _b.TryGetSchema(op_name)
  
      if op_schema.IsDeprecated() or op_name in _excluded_operators:
          return
      elif op_name in _stateful_operators:
          wrapper = _wrap_stateful(op_class, op_name, wrapper_name)
          op_module = _get_rng_state_target_module(submodules)
      else:
          if op_name in _iterator_operators:
              wrapper = _wrap_iterator(op_class, op_name, wrapper_name)
          else:
              # If operator is not stateful, generator, deprecated or excluded expose it as stateless.
              wrapper = _wrap_stateless(op_class, op_name, wrapper_name)
  
          op_module = _get_eager_target_module(
              parent_module, submodules, make_hidden
          )
  
      if not hasattr(op_module, wrapper_name):
          wrapper.__name__ = wrapper_name
          wrapper.__qualname__ = wrapper_name
          wrapper.__doc__ = wrapper_doc
          wrapper._schema_name = op_name
  
          if submodules:
              wrapper.__module__ = op_module.__name__
  
          setattr(op_module, wrapper_name, wrapper)
  
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 48 for calling a global function with example usage: _wrap_eager_op(op_class, submodules, parent_module, wrapper_name, wrapper_doc, make_hidden) without return types