Canonicalize list comprehensions into equivalent for and if statements.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Wed, 14 Feb 2018 17:10:46 +0000 (09:10 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 14 Feb 2018 17:14:10 +0000 (09:14 -0800)
commitc88617f0ec128a3012f011df9d3febbec5a8c3f4
tree7ac4c0b769f913780f6021c264da7f297d427943
parent6f764de530c31ab1d5f08a4c07c6cb0fa2e492b4
Canonicalize list comprehensions into equivalent for and if statements.

PiperOrigin-RevId: 185695579
tensorflow/contrib/py2tf/converters/BUILD
tensorflow/contrib/py2tf/converters/list_comprehension.py [new file with mode: 0644]
tensorflow/contrib/py2tf/converters/list_comprehension_test.py [new file with mode: 0644]