aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/cmake
diff options
context:
space:
mode:
authorGravatar Anna R <annarev@google.com>2018-07-09 17:41:51 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-09 17:45:11 -0700
commitf4095e19427fb13a38b8a91a5e80ba434f5b9b27 (patch)
treeadf49b874c1a735117ac07ebb75599f7d25577da /tensorflow/contrib/cmake
parente85c781c3f76fd388b8f3b1c5df5c30a9dc7730d (diff)
Use full imports instead of relative imports when adding subdirectory imports
during API generation. PiperOrigin-RevId: 203862333
Diffstat (limited to 'tensorflow/contrib/cmake')
-rwxr-xr-xtensorflow/contrib/cmake/tf_python.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/contrib/cmake/tf_python.cmake b/tensorflow/contrib/cmake/tf_python.cmake
index e3b59001bc..8a9172b43c 100755
--- a/tensorflow/contrib/cmake/tf_python.cmake
+++ b/tensorflow/contrib/cmake/tf_python.cmake
@@ -853,6 +853,7 @@ add_custom_command(
"--apidir=${CMAKE_CURRENT_BINARY_DIR}/tf_python/tensorflow/python/estimator/api"
"--package=tensorflow.python.estimator"
"--apiname=estimator"
+ "--output_package=tensorflow.python.estimator.api"
"${estimator_api_init_list_file}"
COMMENT "Generating __init__.py files for Python API."