Fix documentation.

This commit is contained in:
Robert Nishihara
2016-08-30 17:20:00 -07:00
parent fb7ccef493
commit 5cf1d60cb2
3 changed files with 2 additions and 13 deletions
+1 -3
View File
@@ -88,9 +88,7 @@ def train_cnn_and_compute_accuracy(hyperparameters, train_images, train_labels,
return validation_accuracy
```
The only difference is that we added the `@ray.remote` decorator specifying a
little bit of type information (the input is a dictionary along with some numpy
arrays, and the return value is a float).
The only difference is that we added the `@ray.remote` decorator.
Now a call to `train_cnn_and_compute_accuracy` does not execute the function. It
submits the task to the scheduler and returns an object ID for the output