code: def _get_main_template():
      return jinja2.Template(
          textwrap.dedent(
              """
              .. _l-onnx-operators:
  
              {{ title }}
              {{ "=" * len(title) }}
  
              Lists out all the ONNX operators. For each operator, lists out the usage guide,
              parameters, examples, and line-by-line version history.
              This section also includes tables detailing each operator
              with its versions, as done in `Operators.md
              <https://github.com/onnx/onnx/blob/main/docs/Operators.md>`_.
  
              All examples end by calling function `expect`.
              which checks a runtime produces the expected output for this example.
              One implementation based on `onnxruntime <https://onnxruntime.ai/>`_
              can be found at :ref:`l-function-expect`.
  
              .. toctree::
                  :hidden:
  
                  ../expect_onnxruntime
                  {% for p in pages %}{{ os.path.split(p)[-1] }}
                  {% endfor %}
  
              .. tabs::
  
                  {% for t in tabs %}.. tab:: {{ t.domain_name }}
                      {{ t.render(indent="        ") }}
                  {% endfor %}
              """
          ),
          autoescape=True,
      )
  
imports: import difflib
  import importlib
  import inspect
  import keyword
  import os
  import pathlib
  import re
  import shutil
  import sys
  import textwrap
  from typing import Any
  import jinja2
  import numpy
  from sphinx.util import logging
  import onnx
  from onnx.backend.test.case.base import _Exporter
  from onnx.defs import OpSchema
label_desc: Use image node_id 3 for calling a global function with example usage: _get_main_template() and returns: jinja2