aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/platform
diff options
context:
space:
mode:
authorGravatar Anna R <annarev@google.com>2018-04-26 11:25:43 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-04-26 11:31:14 -0700
commita8481834bb881f67e7b9523480c28f5b987e62e8 (patch)
treefea7992e3bc87f5e0db1cf2c99c0c289572b6ed4 /tensorflow/python/platform
parent6b6976e3ba19484f893092712e4577daeb92ad3b (diff)
Removing @@ comments from core TensorFlow. They are no longer needed for exporting symbols to the TensorFlow API.
PiperOrigin-RevId: 194426855
Diffstat (limited to 'tensorflow/python/platform')
-rw-r--r--tensorflow/python/platform/resource_loader.py9
-rw-r--r--tensorflow/python/platform/sysconfig.py8
-rw-r--r--tensorflow/python/platform/test.py13
3 files changed, 2 insertions, 28 deletions
diff --git a/tensorflow/python/platform/resource_loader.py b/tensorflow/python/platform/resource_loader.py
index 650a1fd851..b2d9551855 100644
--- a/tensorflow/python/platform/resource_loader.py
+++ b/tensorflow/python/platform/resource_loader.py
@@ -12,14 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
-"""Resource management library.
-
-@@get_data_files_path
-@@get_path_to_datafile
-@@get_root_dir_with_all_resources
-@@load_resource
-@@readahead_file_path
-"""
+"""Resource management library."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
diff --git a/tensorflow/python/platform/sysconfig.py b/tensorflow/python/platform/sysconfig.py
index 56759d1b8e..7b6c9d19d0 100644
--- a/tensorflow/python/platform/sysconfig.py
+++ b/tensorflow/python/platform/sysconfig.py
@@ -13,13 +13,7 @@
# limitations under the License.
# ==============================================================================
-"""System configuration library.
-
-@@get_include
-@@get_lib
-@@get_compile_flags
-@@get_link_flags
-"""
+"""System configuration library."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
diff --git a/tensorflow/python/platform/test.py b/tensorflow/python/platform/test.py
index 0a0fe68be5..9ffb48c4a5 100644
--- a/tensorflow/python/platform/test.py
+++ b/tensorflow/python/platform/test.py
@@ -19,19 +19,6 @@ See the @{$python/test} guide.
Note: `tf.test.mock` is an alias to the python `mock` or `unittest.mock`
depending on the python version.
-
-@@main
-@@TestCase
-@@test_src_dir_path
-@@assert_equal_graph_def
-@@get_temp_dir
-@@is_built_with_cuda
-@@is_gpu_available
-@@gpu_device_name
-@@compute_gradient
-@@compute_gradient_error
-@@create_local_cluster
-
"""
from __future__ import absolute_import