class_docstr: Base class for the reference tests.
class_docstr_tok: ["Base","class","for","the","reference","tests","."]
code: def assertFunctionMatchesEager(self, f, *args, xla=False):
      if self.all_inputs_tensors:
          args = self._as_tensors(args)
      compiled_data = self.run_native(self.function(f, xla=xla), *args)
      if not self.allow_exceptions:
          _, _, compiled_err = compiled_data
          if compiled_err is not None:
              self.fail(str(compiled_err))
      native_data = self.run_native(f, *args)
      self.assertResultsMatch(f, args, native_data, compiled_data)
  
imports: import io
  import numbers
  import os
  import sys
  import traceback
  import numpy
  import tensorflow
label_desc: Use image node_id 10 for calling the TestCase obj's underlying member method code with example usage: obj.assertFunctionMatchesEager(f) without return types