export remote functions and reusable variables that were defined before connect was called (#292)

This commit is contained in:
Robert Nishihara
2016-07-26 11:40:09 -07:00
committed by Philipp Moritz
parent 8e9f98c5ff
commit 3bae6f136b
15 changed files with 167 additions and 141 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ def increment(x):
def add(a, b):
return a + b
@ray.remote([List[int]], [np.ndarray])
@ray.remote([List], [np.ndarray])
def zeros(shape):
return np.zeros(shape)