Commit 84ace035 authored by Alexandre Passos's avatar Alexandre Passos Committed by TensorFlower Gardener
Browse files

Improves tf.function prototype.

Specifically:
 - renames from def_function
 - returns an object with well-defined methods
 - doesn't force-retrace twice
 - uses the python descriptor API ( https://docs.python.org/3/howto/descriptor.html )
   to remove the need for a tf.method
PiperOrigin-RevId: 216388957
parent 1e4a3baa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment