class_docstr: Base class for unit tests in this module. Contains relevant utilities.
class_docstr_tok: ["Base","class","for","unit","tests","in","this","module",".","Contains","relevant","utilities","."]
code: def transform(
      self,
      f,
      converter_module,
      include_ast=False,
      ag_overrides=None,
      operator_overload=hooks.OperatorBase(),
  ):
      program_ctx = converter.ProgramContext(
          options=converter.ConversionOptions(recursive=True),
          autograph_module=api,
      )
  
      tr = TestingTranspiler(
          converter_module,
          ag_overrides,
          operator_overload=operator_overload,
      )
      transformed, _, _ = tr.transform_function(f, program_ctx)
  
      if include_ast:
          return transformed, tr.transformed_ast, tr.transform_ctx
  
      return transformed
  
imports: import contextlib
  import imp
  import inspect
  import sys
  import unittest
  import six
  from nvidia.dali._autograph.core import config
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.impl import api
  from nvidia.dali._autograph.utils import hooks
label_desc: Use image node_id 2 for calling the TestCase obj's underlying member method code with example usage: obj.transform(f, converter_module, include_ast, ag_overrides, operator_overload) and returns: transformed, transformed,  tr,  tr