[tune] tf2.0 mnist example (#5898)

* tfmnistexample

* tfmnist

* add_to_ci

* format

* exampledownlaod

* fix
This commit is contained in:
Richard Liaw
2019-10-15 22:25:01 -07:00
committed by GitHub
parent 6843a01a7f
commit 9f23620412
5 changed files with 139 additions and 0 deletions
+1
View File
@@ -30,6 +30,7 @@ Tensorflow/Keras Examples
- `tune_mnist_keras <https://github.com/ray-project/ray/blob/master/python/ray/tune/examples/tune_mnist_keras.py>`__: Converts the Keras MNIST example to use Tune with the function-based API and a Keras callback. Also shows how to easily convert something relying on argparse to use Tune.
- `pbt_memnn_example <https://github.com/ray-project/ray/blob/master/python/ray/tune/examples/pbt_memnn_example.py>`__: Example of training a Memory NN on bAbI with Keras using PBT.
- `Tensorflow 2 Example <https://github.com/ray-project/ray/blob/master/python/ray/tune/examples/tf_mnist_example.py>`__: Converts the Advanced TF2.0 MNIST example to use Tune with the Trainable. This uses `tf.function`. Original code from tensorflow: https://www.tensorflow.org/tutorials/quickstart/advanced
PyTorch Examples