mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 13:49:45 +08:00
be4a37bf37
* Remove start_ray_local from ray.init and change default number of workers to 10. * Remove alexnet example. * Move array methods to experimental. * Remove TRPO example. * Remove old files. * Compile plasma when we build numbuf. * Address comments.
11 lines
210 B
Python
11 lines
210 B
Python
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
|
|
import numpy as np
|
|
import ray
|
|
|
|
@ray.remote
|
|
def normal(shape):
|
|
return np.random.normal(size=shape)
|