diff options
author | Derek Murray <mrry@google.com> | 2017-12-11 14:41:17 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-12-11 14:45:28 -0800 |
commit | 037f036b2c76ef363148276dce83b7dd1d79e878 (patch) | |
tree | 359d2af4fcec51ccb60d42409ce09b03000cfc8e /third_party/repo.bzl | |
parent | dd77f385591c8b6ef7ab8dae7429c7eff7813a1e (diff) |
Mark a FunctionDef's signature as stateful when it contains a stateful node.
This fixes a bug where two calls to the same stateful function will erroneously be eliminated as common subexpressions. It is also a step towards pruning nodes from function bodies, which is necessary for a variety of `Dataset` optimizations.
PiperOrigin-RevId: 178675527
Diffstat (limited to 'third_party/repo.bzl')
0 files changed, 0 insertions, 0 deletions