mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 21:34:50 +08:00
change filenames and directory structure to use halo (#81)
This commit is contained in:
committed by
Philipp Moritz
parent
b58eaf84ee
commit
67086f663e
@@ -0,0 +1,7 @@
|
||||
from typing import List
|
||||
import numpy as np
|
||||
import halo
|
||||
|
||||
@halo.distributed([List[int]], [np.ndarray])
|
||||
def normal(shape):
|
||||
return np.random.normal(size=shape)
|
||||
Reference in New Issue
Block a user