Skip to content

Commit 6fbfebb

Browse files
author
Johannes Ballé
committed
Renamed top-level module and unified imports.
1 parent 6a4a040 commit 6fbfebb

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ or later.
1313
To make sure the library imports succeed, try running the two
1414
tests.
1515
```
16-
python compression/python/ops/coder_ops_test.py
17-
python compression/python/layers/entropybottleneck_test.py
16+
python tensorflow_compression/python/ops/coder_ops_test.py
17+
python tensorflow_compression/python/layers/entropybottleneck_test.py
1818
```
1919

2020
## Entropy bottleneck layer

compression/__init__.py renamed to tensorflow_compression/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from __future__ import print_function
2121

2222
# pylint: disable=wildcard-import
23-
from compression.python.layers.entropybottleneck import *
23+
from tensorflow_compression.python.layers.entropybottleneck import *
2424
from tensorflow.contrib.coder.python.ops.coder_ops import *
2525
# pylint: enable=wildcard-import
2626

compression/python/layers/entropybottleneck_test.py renamed to tensorflow_compression/python/layers/entropybottleneck_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import numpy as np
2323

24-
import entropybottleneck
24+
from tensorflow_compression.python.layers import entropybottleneck
2525

2626
from tensorflow.python.framework import dtypes
2727
from tensorflow.python.ops import array_ops

compression/python/ops/coder_ops_test.py renamed to tensorflow_compression/python/ops/coder_ops_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from __future__ import division
2020
from __future__ import print_function
2121

22-
from compression.python.ops import coder_ops
22+
from tensorflow_compression.python.ops import coder_ops
2323

2424
from tensorflow.python.framework import dtypes
2525
from tensorflow.python.ops import array_ops

0 commit comments

Comments
 (0)