mirror of
https://github.com/vale981/ray
synced 2025-03-12 14:16:39 -04: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)
|