def benchmark_defun_without_signature_and_with_kwargs(self):

    def func(t1, t2, t3, t4, t5, t6, t7, t8):
        del t1, t2, t3, t4, t5, t6, t7, t8
        return None
    defined = function.defun(func)
    t = constant_op.constant(0.0)

    def cache_computation():
        return defined(t1=t, t2=t, t3=t, t4=t, t5=t, t6=t, t7=t, t8=t)
    self._run(cache_computation, 30000)
def benchmark_defun_without_signature_and_with_kwargs(self):

    def func(t1, t2, t3, t4, t5, t6, t7, t8):
        del t1, t2, t3, t4, t5, t6, t7, t8
        return None
    defined = function.defun(func)
    t = constant_op.constant(0.0)

    def cache_computation():
        return defined(t1=t, t2=t, t3=t, t4=t, t5=t, t6=t, t7=t, t8=t)
    self._run(cache_computation, 30000)