mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 11:59:47 +08:00
8 lines
164 B
Python
8 lines
164 B
Python
from typing import List
|
|
import numpy as np
|
|
import orchpy as op
|
|
|
|
@op.distributed([List[int]], [np.ndarray])
|
|
def normal(shape):
|
|
return np.random.normal(size=shape)
|