tensorflow/third_party/pasta/BUILD.system
Martin Wicke fe66882827 Refactor compatibility upgrade tool to use pasta (an AST based refactoring tool) instead of line based edits.
This allows for some simplification (e.g., we can now remove arguments with a dict entry) and for much more powerful transformations.

This passes all tests with no destructive test changes (though there are cosmetic test changes).

Also adds transformations for tf.to_dtype -> tf.cast(..., dtype=...).

PiperOrigin-RevId: 227934801
2019-01-04 17:04:28 -08:00

14 lines
240 B
Plaintext

# Description: Pasta, AST based python refactoring.
licenses(["notice"]) # Apache2
filegroup(
name = "LICENSE",
visibility = ["//visibility:public"],
)
py_library(
name = "pasta",
visibility = ["//visibility:public"],
)