basic tutorials (#204)

This commit is contained in:
Robert Nishihara
2016-07-06 13:51:32 -07:00
committed by Philipp Moritz
parent bd586b4a57
commit 5873831c21
11 changed files with 543 additions and 80 deletions
+4
View File
@@ -12,6 +12,10 @@ def estimate_pi(n):
def increment(x):
return x + 1
@ray.remote([int, int], [int])
def add(a, b):
return a + b
@ray.remote([List[int]], [np.ndarray])
def zeros(shape):
return np.zeros(shape)