diff options
author | Anna R <annarev@google.com> | 2018-09-07 12:20:37 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-07 12:24:57 -0700 |
commit | a65d3dd42122d3a58985d56118d58c5b4224f38f (patch) | |
tree | 9c7bf3a1a3dfa68d73af747b281a5ae327868332 /tensorflow/python/BUILD | |
parent | 0a375d94b6fd4c3cd0bd5d0a301b3acc65b96d78 (diff) |
Add tf_api_version flag. If --define=tf_api_version=2 flag is passed in, then bazel will build TensorFlow API version 2.0. In all other cases, it would build API version 1.*.
PiperOrigin-RevId: 212016666
Diffstat (limited to 'tensorflow/python/BUILD')
-rw-r--r-- | tensorflow/python/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD index ba9c6a2320..19729813a1 100644 --- a/tensorflow/python/BUILD +++ b/tensorflow/python/BUILD @@ -78,6 +78,7 @@ py_library( "//tensorflow:__pkg__", "//tensorflow/python/tools:__pkg__", "//tensorflow/python/tools/api/generator:__pkg__", + "//tensorflow/tools/api/tests:__pkg__", ], deps = [ ":array_ops", |