change remote function invocation from func() to func.remote() (#328)

This commit is contained in:
Robert Nishihara
2016-07-31 15:25:19 -07:00
committed by Philipp Moritz
parent 92f1976e94
commit 0e5b858324
19 changed files with 219 additions and 215 deletions
+2 -2
View File
@@ -16,11 +16,11 @@ def test_alias_f():
@ray.remote([], [np.ndarray])
def test_alias_g():
return test_alias_f()
return test_alias_f.remote()
@ray.remote([], [np.ndarray])
def test_alias_h():
return test_alias_g()
return test_alias_g.remote()
# Test timing