mirror of
https://github.com/wassname/ray.git
synced 2026-07-20 12:40:20 +08:00
distributed -> remote (#82)
This commit is contained in:
committed by
Philipp Moritz
parent
67086f663e
commit
2b52b91acb
@@ -2,6 +2,6 @@ from typing import List
|
||||
import numpy as np
|
||||
import halo
|
||||
|
||||
@halo.distributed([List[int]], [np.ndarray])
|
||||
@halo.remote([List[int]], [np.ndarray])
|
||||
def normal(shape):
|
||||
return np.random.normal(size=shape)
|
||||
|
||||
Reference in New Issue
Block a user