class_docstr: Base class for unit tests in this module. Contains relevant utilities.
code: def transform(
      self, f, converter_module, include_ast=False, ag_overrides=None
  ):
      program_ctx = converter.ProgramContext(
          options=converter.ConversionOptions(recursive=True),
          autograph_module=api,
      )
  
      tr = TestingTranspiler(converter_module, ag_overrides)
      transformed, _, _ = tr.transform_function(f, program_ctx)
  
      if include_ast:
          return transformed, tr.transformed_ast, tr.transform_ctx
  
      return transformed
  
imports: import contextlib
  import inspect
  import io
  import sys
  import types
  from tensorflow.python.autograph.core import config
  from tensorflow.python.autograph.core import converter
  from tensorflow.python.autograph.impl import api
  from tensorflow.python.framework import ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the TestCase obj's underlying member method code with example usage: obj.transform(f, converter_module, include_ast, ag_overrides) and returns: transformed, transformed,  tr,  tr