diff options
author | Skye Wanderman-Milne <skyewm@google.com> | 2018-08-23 15:56:07 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-23 16:00:14 -0700 |
commit | 3dd67a1e399505a297bbdd58440b06855c92a35d (patch) | |
tree | 9bde09ff872150f682408d74c84046e5bdfd490d /tensorflow/python/BUILD | |
parent | 85acad7e60a85a30e414e13ddb7e02d1a90cba3f (diff) |
Switch cond_v2 to using tfe.defun instead of function.Defun.
This requires a few changes:
- Make func_graph_from_py_func public (not part of the official public API though)
- Make function_def_to_graph return the new FuncGraph implementation.
- Disables some cond_v2 tests until we get them working with the new FuncGraph implementation.
- Add outer_graph field to FuncGraph.
- Add external_captures and internal_captures properties to FuncGraph for readability.
- Remove extra_inputs/extra_args terminology from cond_v2_impl for readability.
- Use compat.as_str() around Graph._functions keys. In Python 3, we were somehow getting a mix of str and bytes objects.
PiperOrigin-RevId: 210015940
Diffstat (limited to 'tensorflow/python/BUILD')
-rw-r--r-- | tensorflow/python/BUILD | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD index 0c419091b7..ae3ef77ee7 100644 --- a/tensorflow/python/BUILD +++ b/tensorflow/python/BUILD @@ -723,7 +723,6 @@ py_library( srcs_version = "PY2AND3", deps = [ ":array_ops", - ":cond_v2_impl", ":dtypes", ":framework_ops", ":graph_to_function_def", |