Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full tf2 support #201

Merged
merged 27 commits into from
Feb 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
fec458e
Implement and test Rieamannian autodiff in eager mode
Bihaqo Nov 21, 2019
d4faf5a
get rid of tf datasets dependency
Bihaqo Dec 9, 2019
490b714
Make shaping compatible with tf2 behavior
Bihaqo Dec 9, 2019
04a9e13
remove unnecessary disable_v2
Bihaqo Dec 10, 2019
1cb2e7d
Init full tf2 support
Bihaqo Dec 16, 2019
74df185
Convert more of the tests to full tf1 style
Bihaqo Dec 16, 2019
ff60984
remove some debugging stuff
Bihaqo Dec 16, 2019
bf75167
remove code moved to the no-eager test
Bihaqo Dec 16, 2019
094ef80
import tf instead of tf.compat.v1
Bihaqo Dec 16, 2019
4034761
remove outdated examples test
Bihaqo Dec 16, 2019
803f9be
Run eager and no eager tests separately
Bihaqo Jan 9, 2020
36c63b4
Add dashes
Bihaqo Jan 9, 2020
5c2ce99
Do not test converting a placeholder with unknown shape into TT, does…
Bihaqo Feb 23, 2020
c100184
Move no eager tests for batch_ops into a separate file
Bihaqo Feb 23, 2020
6676435
Merge branch 'develop' into full_tf2_support
Bihaqo Feb 23, 2020
ca9ce37
Make frobenious norm test more reliable
Bihaqo Feb 23, 2020
6a42b9c
Estimate coverage based on eager tests
Bihaqo Feb 23, 2020
51f5cc6
Do not test graph mode, too complicated
Bihaqo Feb 23, 2020
4c68a92
Use up-to-date TF and Python
Bihaqo Feb 24, 2020
8a449a4
Update instructions around tf / py versions
Bihaqo Feb 24, 2020
a580953
Update riemannian tutorial to use TF 2
Bihaqo Feb 24, 2020
b811b17
Remove non-eager tests from a file forgotten last time
Bihaqo Feb 24, 2020
7f0cb1a
Fix forgotten =values
Bihaqo Feb 24, 2020
3e3a2f2
Try to include no_eager coverage as well
Bihaqo Feb 24, 2020
5559b02
Mock the default tf, not the compat v1 one
Bihaqo Feb 24, 2020
450ecfc
Make replace_tf_svd_with_np_svd work in eager mode
Bihaqo Feb 24, 2020
9196083
Update two more tutorials to TF2
Bihaqo Feb 24, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
dist: trusty
language: python
python:
- "2.7"
- "3.5"
- "3.6"
env:
matrix:
- TF_VERSION=1.13.2
- TF_VERSION=1.15
- TF_VERSION=1.15.2
- TF_VERSION=2.0
# command to install dependencies
install:
- pip install --upgrade pip
- pip install tensorflow==$TF_VERSION
- pip install coveralls
# command to run tests
script:
nosetests --logging-level=WARNING --with-coverage --cover-package=t3f
# Run eager and no-eager tests separately.
- nosetests t3f/*_no_eager_test.py --logging-level=WARNING --with-coverage --cover-package=t3f
- nosetests -e='*no_eager*' --logging-level=WARNING --with-coverage --cover-package=t3f
after_success:
coveralls
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Installation
============

T3f assumes you have Python 2.7, 3.5 or 3.6 and a working TensorFlow installation (tested versions are from 1.13 to 2.0 (TF 2.0 is only supported in compat.v1 mode), see here_ for TF installation instructions).
T3f assumes you have Python 3.5 or 3.6 and a working TensorFlow installation (tested versions are from 1.15.2 to 2.0, see here_ for TF installation instructions).

.. _here: https://www.tensorflow.org/install/

Expand Down
Loading