Skip to content

Commit 6a4a040

Browse files
author
Nick Johnston
committed
1. Remove custom C++ ops from this repo.
These are currently still included in base TensorFlow and C++ ABI issues are preventing us to conviently package them separately for the time being. 2. Update API to work with latest nightly Keras changes.
1 parent bb7f451 commit 6a4a040

15 files changed

+16
-2092
lines changed

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@ This package contains data compression ops and layers for TensorFlow.
55
For usage questions and discussions, please head over to our
66
[Google group](https://groups.google.com/forum/#!forum/tensorflow-compression)!
77

8-
## Compiling
8+
## Prerequisite
99

1010
**Please note**: You need TensorFlow 1.9 (or the master branch as of May 2018)
1111
or later.
1212

13-
First, compile the custom ops needed by TensorFlow.
14-
```shell
15-
cd compression
16-
chmod +x compile.sh
17-
./compile.sh
18-
cd ..
19-
```
20-
21-
To make sure the compilation and library imports succeed, try running the two
13+
To make sure the library imports succeed, try running the two
2214
tests.
2315
```
2416
python compression/python/ops/coder_ops_test.py

compression/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@
2121

2222
# pylint: disable=wildcard-import
2323
from compression.python.layers.entropybottleneck import *
24-
# TODO(jonycgn,nmjohn): revert to importing from here once we figure out why the
25-
# nightlies don't work.
26-
# from compression.python.ops.coder_ops import *
2724
from tensorflow.contrib.coder.python.ops.coder_ops import *
2825
# pylint: enable=wildcard-import
2926

compression/compile.sh

Lines changed: 0 additions & 35 deletions
This file was deleted.

compression/kernels/pmf_to_cdf_op.cc

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)