Cache the ag_internal module, to avoid falsely rejecting it when in the namespace...
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 17 Apr 2018 19:52:34 +0000 (12:52 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 17 Apr 2018 19:55:09 +0000 (12:55 -0700)
commit33d55d7caff2bd32fa2b1c5cacb7ac251c48e27d
treef5e8d81a578a40688c7242411e3e397f607172f4
parent2fe299f39785611e29a5fb0d859cd283b3f9587c
Cache the ag_internal module, to avoid falsely rejecting it when in the namespace of a previously converted function. Explicitly reject lambda functions, for now, becasue they require special treatment.

PiperOrigin-RevId: 193241279
tensorflow/contrib/autograph/impl/conversion.py
tensorflow/contrib/autograph/impl/conversion_test.py