Skip to content

Commit

Permalink
Move tests out of the neural_tangents into the top folder (before, …
Browse files Browse the repository at this point in the history
…there were conflicting copybara instructions, the latter of which was ignored; this creates issues when reversing the transformation)

PiperOrigin-RevId: 320204232
  • Loading branch information
romanngg committed Jul 8, 2020
1 parent d24bd39 commit 661a4fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ install:
- pip install -e .
script:
- set -e
- for f in neural_tangents/tests/*.py; do python $f; done
- for f in tests/*.py; do python $f; done
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ or, to use the bleeding-edge version from GitHub source,

```
git clone https://github.com/google/neural-tangents
pip install -e neural-tangents
cd neural-tangents
pip install -e .
```

You can now run the examples (using [`tensorflow_datasets`](https://github.com/tensorflow/datasets))
Expand All @@ -84,11 +85,11 @@ and tests by calling:
```
pip install tensorflow tensorflow-datasets --upgrade
python neural-tangents/examples/infinite_fcn.py
python neural-tangents/examples/weight_space.py
python neural-tangents/examples/function_space.py
python examples/infinite_fcn.py
python examples/weight_space.py
python examples/function_space.py
set -e; for f in neural-tangents/neural_tangents/tests/*.py; do python $f; done
set -e; for f in tests/*.py; do python $f; done
```


Expand Down

0 comments on commit 661a4fd

Please sign in to comment.