aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/stat_summarizer/__init__.py
diff options
context:
space:
mode:
authorGravatar Andrew Harp <andrewharp@google.com>2016-11-11 16:43:51 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-11-11 17:02:51 -0800
commit1743ad893859ea342c3c6b04a5292b763ae4aead (patch)
treeb02f61f10035aa0004e338084fe2841dcbbc9b18 /tensorflow/contrib/stat_summarizer/__init__.py
parentf27dea2f016baf09040bf5aec705511486a3f205 (diff)
Add python wrapper for StatSummarizer.
Change: 138933733
Diffstat (limited to 'tensorflow/contrib/stat_summarizer/__init__.py')
-rw-r--r--tensorflow/contrib/stat_summarizer/__init__.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/tensorflow/contrib/stat_summarizer/__init__.py b/tensorflow/contrib/stat_summarizer/__init__.py
new file mode 100644
index 0000000000..32feb7edb9
--- /dev/null
+++ b/tensorflow/contrib/stat_summarizer/__init__.py
@@ -0,0 +1,27 @@
+# Copyright 2016 The TensorFlow Authors. All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ==============================================================================
+"""Exposes the Python wrapper for StatSummarizer utility class.
+
+The wrapper implementation is in tensorflow/python/util/stat_summarizer.i for
+technical reasons, but it should be accessed via tf.contrib.stat_summarizer.
+"""
+from __future__ import absolute_import
+from __future__ import division
+from __future__ import print_function
+
+# pylint: disable=unused-import,wildcard-import, line-too-long
+from tensorflow.python.pywrap_tensorflow import DeleteStatSummarizer
+from tensorflow.python.pywrap_tensorflow import NewStatSummarizer
+from tensorflow.python.pywrap_tensorflow import StatSummarizer