aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/autograph/pyct/cfg.py
Commit message (Collapse)AuthorAge
* Enable support for lambda functions in static analyses.Gravatar Dan Moldovan2018-10-09
| | | | | | | The CFG treats lambdas as ordinary expressions. The activity analysis ensures that variables masked by the lambda's arguments are not being tracked. Note: lambdas do not allow direct modification (we exclude indirect mutation via function or methods). PiperOrigin-RevId: 216456682
* Include live-in symbols in liveness analysis. These are required for control ↵Gravatar Dan Moldovan2018-10-09
| | | | | | flow conversion. PiperOrigin-RevId: 216370439
* Use weakrefs where absolutely safe to do so, in order to reduce the number ↵Gravatar Dan Moldovan2018-09-21
| | | | | | of circular references. Replace unnecessary OrderedDict with a regular dict. PiperOrigin-RevId: 213982097
* Move AutoGraph to core. This CL moves the entirety of the code base, keeping ↵Gravatar Dan Moldovan2018-09-11
the frontend autograph module in contrib for backward compatibility. Certain files, like notebooks and the readme file may be referenced from the outside, so a copy of those is kept as well. In addition, the notebooks subdirectory of examples is also kept in contrib because the extension the build file relies on is not available in the PIP package. PiperOrigin-RevId: 212543067