Commit a386016a authored by Allen Lavoie's avatar Allen Lavoie Committed by TensorFlower Gardener
Browse files

Fix @tf.function signatures with unspecified default arguments

Surprisingly not much impact on the signature+call benchmarks.

Before:

MicroBenchmarks.benchmark_defun_with_signature 8423 examples/sec
MicroBenchmarks.benchmark_defun_with_signature_and_kwargs 7135 examples/sec

After

MicroBenchmarks.benchmark_defun_with_signature 8277 examples/sec
MicroBenchmarks.benchmark_defun_with_signature_and_kwargs 7032 examples/sec

PiperOrigin-RevId: 223440258
parent 771f3a43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment