Skip to content

Commit

Permalink
tf.contrib.coder cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 207577648
  • Loading branch information
tensorflower-gardener committed Aug 6, 2018
1 parent 29639b8 commit d0ec94e
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1,131 deletions.
1 change: 0 additions & 1 deletion tensorflow/contrib/cmake/python_modules.txt
Expand Up @@ -115,7 +115,6 @@ tensorflow/contrib/coder
tensorflow/contrib/coder/kernels
tensorflow/contrib/coder/ops
tensorflow/contrib/coder/python
tensorflow/contrib/coder/python/layers
tensorflow/contrib/coder/python/ops
tensorflow/contrib/compiler
tensorflow/contrib/constrained_optimization
Expand Down
44 changes: 1 addition & 43 deletions tensorflow/contrib/coder/BUILD
@@ -1,5 +1,5 @@
# Description:
# Contains tools related to data compression.
# Contains ops related to data compression.

package(default_visibility = [
"//learning/brain:__subpackages__",
Expand Down Expand Up @@ -168,7 +168,6 @@ py_library(
srcs_version = "PY2AND3",
deps = [
":coder_ops_py",
":entropybottleneck_py",
],
)

Expand Down Expand Up @@ -205,44 +204,3 @@ tf_py_test(
],
main = "python/ops/coder_ops_test.py",
)

py_library(
name = "entropybottleneck_py",
srcs = [
"python/layers/entropybottleneck.py",
],
srcs_version = "PY2AND3",
deps = [
":coder_ops_py",
"//tensorflow/python:array_ops",
"//tensorflow/python:constant_op",
"//tensorflow/python:dtypes",
"//tensorflow/python:functional_ops",
"//tensorflow/python:init_ops",
"//tensorflow/python:math_ops",
"//tensorflow/python:nn",
"//tensorflow/python:ops",
"//tensorflow/python:random_ops",
"//tensorflow/python:state_ops",
"//tensorflow/python:summary_ops",
"//tensorflow/python:tensor_shape",
"//tensorflow/python:variable_scope",
"//tensorflow/python/eager:context",
"//tensorflow/python/keras:engine",
"//third_party/py/numpy",
],
)

tf_py_test(
name = "entropybottleneck_py_test",
srcs = [
"python/layers/entropybottleneck_test.py",
],
additional_deps = [
":entropybottleneck_py",
"//tensorflow/python:client_testlib",
"//tensorflow/python:variables",
"//tensorflow/python:training",
],
main = "python/layers/entropybottleneck_test.py",
)
73 changes: 0 additions & 73 deletions tensorflow/contrib/coder/README.md

This file was deleted.

3 changes: 1 addition & 2 deletions tensorflow/contrib/coder/__init__.py
Expand Up @@ -12,14 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
"""Data compression tools."""
"""Data compression ops."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

# pylint: disable=wildcard-import
from tensorflow.contrib.coder.python.layers.entropybottleneck import *
from tensorflow.contrib.coder.python.ops.coder_ops import *
# pylint: enable=wildcard-import

Expand Down

0 comments on commit d0ec94e

Please sign in to comment.