mirror of
https://github.com/wassname/ray.git
synced 2026-08-04 13:14:14 +08:00
distributed -> remote (#82)
This commit is contained in:
committed by
Philipp Moritz
parent
67086f663e
commit
2b52b91acb
Vendored
+1
-1
@@ -6,7 +6,7 @@ import halo
|
||||
|
||||
from core import *
|
||||
|
||||
@halo.distributed([List[int]], [DistArray])
|
||||
@halo.remote([List[int]], [DistArray])
|
||||
def normal(shape):
|
||||
num_blocks = DistArray.compute_num_blocks(shape)
|
||||
objrefs = np.empty(num_blocks, dtype=object)
|
||||
|
||||
Reference in New Issue
Block a user