code: def _gen_ops_signature(schema, schema_name, cls_name):
      """Write the stub of the fn API class with the docstring, __init__ and __call__ for given
      operator.
      """
      return inspect_repr_fixups(
          f"""
  class {cls_name}:
      \"""{_docs._docstring_generator(schema_name)}
      \"""
      def __init__{_call_signature(schema, include_inputs=False, include_kwargs=True,
                                   include_self=True, data_node_return=False,
                                   all_args_optional=True)}:
          ...
  
  {(_gen_ops_call_signature_no_input(schema, schema_name)
    if schema.MaxNumInput() == 0
    else _gen_ops_call_signature_with_inputs(schema, schema_name))}
  """
      )
  
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 19 for calling a global function with example usage: _gen_ops_signature(schema, schema_name, cls_name) and returns: inspect_repr_fixups