code: def deepsubclasses(klass):
      """Iterate over direct and indirect subclasses of `klass`."""
      for subklass in klass.__subclasses__():
          yield subklass
          for subsubklass in deepsubclasses(subklass):
              yield subsubklass
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import datetime
  import numbers
  import pdb
  import tempfile
  import time
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 6 for calling a global function with example usage: deepsubclasses(klass) without return types