message: Create a new tf.function object on each iteration
diff: @@ -1347,10 +1347,9 @@ class MicroBenchmarks(benchmarks_test_base.MicroBenchmarksBase):
  self._run(lambda: np.array([x.numpy() for x in values]), 1000)
  def benchmark_function_trace(self):
  - @def_function.function
  def func(x):
  return x
  - self._run(lambda: (func(x) for x in range(1000)), 30000)
  + self._run(lambda: (def_function.function(func)(x) for x in range(1000)), 30000)
  def _benchmarkFunctionWithResourceInputs(self, num_resources, num_iters):
  @def_function.function
  