code: def _numpydoc_formatter(name, type, doc, optional=False):
      """
      Format the documentation for single argument, `name`, `type` and `doc` are expected to be
      strings.
  
      The formatting is:
      <name> : <type>[, optional]
          <doc>
      """
      indent = "\n" + " " * 4
      if optional:
          type += ", optional"
      return "`{}` : {}{}{}".format(
          name, type, indent, doc.replace("\n", indent)
      )
  
file_path: DALI/dali/python/nvidia/dali/ops/_docs.py
imports: import ast
  from nvidia.dali import backend
  from nvidia.dali.types import _default_converter, _type_name_convert_to_string
  from nvidia.dali.ops import _registry, _names
label_desc: Use image node_id 1 for calling a global function with example usage: _numpydoc_formatter(name, type, doc, optional) and returns: str