Fix the type info analysis to correctly process loops. Simplify the implementation...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 17 Apr 2018 14:07:16 +0000 (07:07 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 17 Apr 2018 14:09:37 +0000 (07:09 -0700)
commitf73d793e7a9234efb14fd8f11322429d122949b1
tree5af3716afca1ec495c07b3d90339529aa292a843
parent02dfbe61e3ca0869ca3d4d9a5f02b17306c7b36e
Fix the type info analysis to correctly process loops. Simplify the implementation by reusing some of the transformer base functions. Allow set_element_type to use literals. Add additional tests.

PiperOrigin-RevId: 193192409
tensorflow/contrib/autograph/pyct/static_analysis/type_info.py
tensorflow/contrib/autograph/pyct/static_analysis/type_info_test.py
tensorflow/contrib/autograph/pyct/transformer.py