code: def _v2_eager_test(f, test_or_class, *args, **kwargs):
      with context.eager_mode():
          with testing_utils.run_eagerly_scope(True):
              f(test_or_class, *args, **kwargs)
  
imports: import collections
  import functools
  import itertools
  import unittest
  from absl.testing import parameterized
  from tensorflow.python import keras
  from tensorflow.python import tf2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import ops
  from tensorflow.python.keras import testing_utils
  from tensorflow.python.platform import test
  from tensorflow.python.util import nest
label_desc: Use image node_id 12 for calling a global function with example usage: _v2_eager_test(f, test_or_class) without return types