code: def class_annotate():
      """
      Registers a class to be used by delay_type. See annotate()
      """
      global annotated_class_list
  
      def decorator(cls):
          global annotated_class_list
          annotated_class_list[cls.__name__] = cls
          return cls
  
      return decorator
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/types/annotate.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from six import string_types
label_desc: Use image node_id 2 for calling a global function with example usage: class_annotate() and returns: decorator, cls