.. |
common_transformers
|
Internal cleanup: Move the bulk of the source code transformation infrastructure into the generic pyct module.
|
2020-04-06 15:51:41 -07:00 |
static_analysis
|
Use the nonlocal mechanism for if statements. This is the same mechanism used by for and while loops and it allows reusing much of the code.
|
2020-05-19 15:06:45 -07:00 |
testing
|
Resolve the line number offset in a way that's compatible with Python 3.8.
|
2020-02-29 15:56:36 -08:00 |
__init__.py
|
Move AutoGraph to core. This CL moves the entirety of the code base, keeping 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.
|
2018-09-11 16:32:19 -07:00 |
anno_test.py
|
Move AutoGraph to core. This CL moves the entirety of the code base, keeping 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.
|
2018-09-11 16:32:19 -07:00 |
anno.py
|
Fix liveness analysis for variables closed over by functions. Previously, these variables were only live at the closing function's point of definition. After this change, these variables are live at every statement that may be reached by this function definition. This is more consistent with Python's late binding mechanism.
|
2020-05-07 04:41:39 -07:00 |
ast_util_test.py
|
Replace safeguard against aliasing cond variables with a dynamic check. It is more verbose but more robust in the presence of exception-driven control flow.
|
2020-05-06 09:48:48 -07:00 |
ast_util.py
|
Replace safeguard against aliasing cond variables with a dynamic check. It is more verbose but more robust in the presence of exception-driven control flow.
|
2020-05-06 09:48:48 -07:00 |
BUILD
|
Internal cleanup: Move the bulk of the source code transformation infrastructure into the generic pyct module.
|
2020-04-06 15:51:41 -07:00 |
cache_test.py
|
Internal cleanup: Extract the function caching mechanism into a standalone utility module. A subsequent pass will enable this new implementation.
|
2020-04-04 15:37:14 -07:00 |
cache.py
|
Internal cleanup: Extract the function caching mechanism into a standalone utility module. A subsequent pass will enable this new implementation.
|
2020-04-04 15:37:14 -07:00 |
cfg_test.py
|
Fix CFG to correctly account for lambda functions that appear in while and for loops.
|
2020-04-22 19:42:48 -07:00 |
cfg.py
|
Replace safeguard against aliasing cond variables with a dynamic check. It is more verbose but more robust in the presence of exception-driven control flow.
|
2020-05-06 09:48:48 -07:00 |
error_utils_test.py
|
Exclude frames corresponding to function calls found in the main autograph module (api.py) from the stack trace attached to errors that occur in converted code.
|
2019-12-12 06:26:32 -08:00 |
error_utils.py
|
Internal cleanup: process global and nonlocal in a more consistent fashion during static analysis. Disconnect definitions of symbols between local functions and their parent.
|
2020-04-21 10:28:47 -07:00 |
errors.py
|
Restructure the internal mechanism for reporting errors related to unsupported Python language elements, for better simplicity and robustness. This adds generic error types in pyct, the TF-independent part of autograph, which is consistently used by the low-level components. This fixes a bug in which expected errors, like refusal to convert mangled names asks the user to file a bug.
|
2019-11-20 14:08:55 -08:00 |
gast_util.py
|
Prepare for gast 0.3, to which TensorFlow will upgrade in version 2.2. Since TF pins the version, all libraries that depend on it need to support both gast versions to avoid dependency conflicts.
|
2019-12-26 10:21:47 -08:00 |
inspect_utils_test.py
|
Use more robust methods in tests that are dependent on the number and order of future imports.
|
2020-06-04 09:17:16 -07:00 |
inspect_utils_test.sh
|
Patch the use of inspect.findsource with an accompanying linecache.update, which seems to resolve the issue of incorrect source code being resolved when running from a compressed file.
|
2019-04-22 12:31:14 -07:00 |
inspect_utils.py
|
Account for the possibility of closing over an undefined variable when getting a function's namespace.
|
2020-02-04 13:09:27 -08:00 |
loader_deprecated_py2.py
|
Branch to importlib for loading sources.
|
2020-01-07 11:48:37 -08:00 |
loader_test.py
|
For long (multi-day) training runs, temporary files that got created at the
|
2020-04-13 20:17:39 -07:00 |
loader.py
|
For long (multi-day) training runs, temporary files that got created at the
|
2020-04-13 20:17:39 -07:00 |
naming_test.py
|
Move the namer into the generic pyct library. Clean up dead code.
|
2020-03-25 11:17:03 -07:00 |
naming.py
|
Move the namer into the generic pyct library. Clean up dead code.
|
2020-03-25 11:17:03 -07:00 |
origin_info_test.py
|
Use more robust methods in tests that are dependent on the number and order of future imports.
|
2020-06-04 09:17:16 -07:00 |
origin_info.py
|
Resolve the line number offset in a way that's compatible with Python 3.8.
|
2020-02-29 15:56:36 -08:00 |
parser_test.py
|
Remove line continuations before applying dedent_block. Fixes #35765.
|
2020-01-20 05:47:15 -08:00 |
parser.py
|
Enable type annotations for python/autograph.
|
2020-06-18 13:27:00 -07:00 |
pretty_printer_test.py
|
Add unicode string support to pyct pretty printer.
|
2019-03-06 18:43:22 -08:00 |
pretty_printer.py
|
Small adjustments on import spacing.
|
2019-12-19 17:55:12 -08:00 |
qual_names_test.py
|
Fix the string representation of string literal subscripts to be x['a'] instead of x[a] .
|
2020-05-25 17:12:18 -07:00 |
qual_names.py
|
Fix the string representation of string literal subscripts to be x['a'] instead of x[a] .
|
2020-05-25 17:12:18 -07:00 |
templates_test.py
|
Upgrade to gast 0.3.2.
|
2020-01-10 15:09:32 -08:00 |
templates.py
|
Account more thoroughly for the hidden extra_test code in activity analysis. This avoids related referenced-before-assigned errors. Should fix #36462, but that's most practical to verify after the nightly build.
|
2020-02-27 18:18:06 -08:00 |
transformer_test.py
|
Internal cleanup: Move the bulk of the source code transformation infrastructure into the generic pyct module.
|
2020-04-06 15:51:41 -07:00 |
transformer.py
|
Internal cleanup: let each converter only perform the analysis it needs. Since the bottleneck is inside the conversion process, this is expected to speed it up noticeably.
|
2020-05-02 05:17:08 -07:00 |
transpiler_test.py
|
Internal cleanup: Move the bulk of the source code transformation infrastructure into the generic pyct module.
|
2020-04-06 15:51:41 -07:00 |
transpiler.py
|
Internal cleanup: Move the bulk of the source code transformation infrastructure into the generic pyct module.
|
2020-04-06 15:51:41 -07:00 |