code: def generate_criticisms():
      import edward.criticisms as module
  
      objs = [getattr(module, name) for name in dir(module)]
      objs = [
          obj
          for obj in objs
          if (hasattr(obj, "__call__") or isinstance(obj, type))
      ]
      objs = sorted(objs, key=lambda cls: cls.__name__)
  
      links = [
          ("@{{ed.criticisms.{}}}").format(cls.__name__) for cls in objs
      ]
      return "\n\item".join(links)
  
file_path: edward/docs/generate_api_navbar_and_symbols.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import os
  import shutil
  import re
label_desc: Use image node_id 3 for calling a global function with example usage: generate_criticisms() and returns: str