code: def process_member(name, obj, module_list):
      """Helper function processing the passed object and, if ok, adding a record to the module list.
  
      Args:
          name: name of the member
          obj: member (class/function etc.)
          module_list: list of modules that (probably) will be expanded.
      """
      # It is not a class - skip it.
      if not inspect.isclass(obj):
          return
  
      # Check inheritance - we know that all our datasets/modules/losses inherit from Serialization,
      # Btw. Serialization is also required by this script.
      if not issubclass(obj, nemo.core.Serialization):
          return
  
      logging.info("  * Processing `{}`".format(str(obj)))
  
      module_list.append(
          {
              "name": name,
              "cls": str(obj),
              # Temporary solution: mockup arguments.
              "arguments": [
                  "jasper",
                  "activation",
                  "feat_in",
                  "normalization_mode",
                  "residual_mode",
                  "norm_groups",
                  "conv_mask",
                  "frame_splicing",
                  "init_mode",
              ],
              # Temporary solution: mockup input types.
              "input_types": {
                  "audio_signal": "axes: (batch, dimension, time); elements_type: MelSpectrogramType",
                  "length": "axes: (batch,); elements_type: LengthType",
              },
              # Temporary solution: mockup output types.
              "output_types": {
                  "encoder_output": "axes: (batch, dimension, time); elements_type: AcousticEncodedRepresentation"
              },
          }
      )
  
file_path: NeMo/external/get_modules.py
imports: import argparse
  import importlib
  import inspect
  import json
  import os
  import nemo
  from nemo.utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: process_member(name, obj, module_list) without return types