code: def fn_to_op_table(out_filename):
      formater = "{:{c}<{op_name_max_len}} {:{c}<{op_name_max_len}}\n"
      doc_table = ""
      doc_table += formater.format(
          "", "", op_name_max_len=op_name_max_len, c="="
      )
      doc_table += formater.format(
          "Function (fn.*)",
          "Operator Object (ops.*)",
          op_name_max_len=op_name_max_len,
          c=" ",
      )
      doc_table += formater.format(
          "", "", op_name_max_len=op_name_max_len, c="="
      )
      for op in sorted(all_ops, key=name_sort):
          op_full_name, submodule, op_name = ops._process_op_name(op)
          schema = b.TryGetSchema(op)
          if schema:
              if schema.IsDocHidden():
                  continue
          for module_name, module in ops_modules.items():
              m = module
              for part in submodule:
                  m = getattr(m, part, None)
                  if m is None:
                      break
              if m is not None and hasattr(m, op_name):
                  op_string = link_formatter.format(
                      op=op_full_name, module=module_name
                  )
                  fn_string = link_formatter.format(
                      op=to_fn_name(op_full_name),
                      module=to_fn_module(module_name),
                  )
          if op_name in removed_ops:
              fn_string = "N/A"
          op_doc = formater.format(
              fn_string,
              op_string,
              op_name_max_len=op_name_max_len,
              c=" ",
          )
          doc_table += op_doc
      doc_table += formater.format(
          "", "", op_name_max_len=op_name_max_len, c="="
      )
      with open(out_filename, "w") as f:
          f.write(doc_table)
  
file_path: DALI/docs/operations_table.py
imports: from nvidia.dali import backend
  import nvidia.dali.ops
  import nvidia.dali.fn
  import nvidia.dali.plugin.pytorch
  import nvidia.dali.plugin.numba.experimental
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: fn_to_op_table(out_filename) without return types