diff options
author | Alexandre Passos <apassos@google.com> | 2018-10-09 11:16:32 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-10-09 11:21:01 -0700 |
commit | 84ace0358526bb51c04a3bef4b3072b93b9d1bec (patch) | |
tree | ad94e250a62f4d4bd1dbe095ab34741646af6add /tensorflow/core | |
parent | 1e4a3baad388b5d5250efdb19f91d5b670816fbe (diff) |
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
Diffstat (limited to 'tensorflow/core')
0 files changed, 0 insertions, 0 deletions