mirror of
https://github.com/wassname/ray.git
synced 2026-07-16 11:21:10 +08:00
export remote functions and reusable variables that were defined before connect was called (#292)
This commit is contained in:
committed by
Philipp Moritz
parent
8e9f98c5ff
commit
3bae6f136b
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user