mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
Remove type information from remote decorator.
This commit is contained in:
@@ -82,7 +82,7 @@ complicated version of this remote function is defined in
|
||||
[hyperopt.py](hyperopt.py).
|
||||
|
||||
```python
|
||||
@ray.remote([dict, np.ndarray, np.ndarray, np.ndarray, np.ndarray], [float])
|
||||
@ray.remote()
|
||||
def train_cnn_and_compute_accuracy(hyperparameters, train_images, train_labels, validation_images, validation_labels):
|
||||
# Actual work omitted.
|
||||
return validation_accuracy
|
||||
|
||||
Reference in New Issue
Block a user