Convert functions with multiple returns to use a single return.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 7 Mar 2018 20:01:42 +0000 (12:01 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 7 Mar 2018 20:05:50 +0000 (12:05 -0800)
commit808b569e85df8d63590740f05bc14d964efc4801
tree413cc29799a8134a0f1ece816f6005af4f625097
parent58fe7d26afa435560e7a0d8ca6fc8d670d2477da
Convert functions with multiple returns to use a single return.

PiperOrigin-RevId: 188212324
tensorflow/contrib/py2tf/converters/BUILD
tensorflow/contrib/py2tf/converters/single_return.py [new file with mode: 0644]
tensorflow/contrib/py2tf/converters/single_return_test.py [new file with mode: 0644]
tensorflow/contrib/py2tf/impl/conversion.py
tensorflow/contrib/py2tf/pyct/static_analysis/activity.py