code: def discover_classes(module, parent, class_exceptions):
      """
      Args:
          module: a module in which to search for classes that inherit from the parent class
          parent: the parent class that identifies classes in the module that should be tested
          class_exceptions: a list of specific classes that should be excluded when discovering classes in a module
  
      Returns:
          a list of classes for testing using pytest for parameterized tests
      """
  
      classes = [
          class_info[1]
          for class_info in inspect.getmembers(module, inspect.isclass)
          if issubclass(class_info[1], parent)
          and not class_info[0] in class_exceptions
      ]
  
      return classes
  
imports: import os
  import random
  import inspect
  import numpy
  import pytest
  import tensorflow
  from tensorflow_addons import options
  from tensorflow_addons.utils import resource_loader
  from tensorflow_addons.utils.tf_test_utils import layer_test
label_desc: Use image node_id 20 for calling a global function with example usage: discover_classes(module, parent, class_exceptions) and returns: classes