There are two sets of tests:
- Unit tests, in tensorflow/stream_executor/cl/test
- End to end tests, using a modified Tensorflow-Examples
pip install -r tensorflow/stream_executor/cl/test/requirements.txt
py.test -v
On a Mac:
First clone the tests:
git clone https://github.com/hughperkins/TensorFlow-Examples -b as-unit-tests
Then to run them:
cd Tensorflow-Examples
bash ./run_tests.sh
Test results, using wheel v0.18.3 :
Test | Mac Sierra, using Radeon Pro 450 GPU | Ubuntu 16.04, using NVIDIA K520 |
---|---|---|
Unit tests (py.test -v ) |
Pass | Pass |
linear_regression.py | Ok | Ok |
logistic_regression.py | Ok | Ok |
nearest_neighbor.py | Ok | Ok |
autoencoder.py | Ok | Ok |
multilayer_perceptron.py | Ok | Ok |
recurrent_network.py | Ok | Ok |
dynamic_rnn.py | Ok | Ok |
bidirectional_rnn.py | Ok | Ok |