mirror of
https://github.com/wassname/ray.git
synced 2026-07-20 12:40:20 +08:00
Change ray.worker.cleanup -> ray.shutdown and improve API documentation. (#2374)
* Change ray.worker.cleanup -> ray.shutdown and improve API documentation. * Deprecate ray.worker.cleanup() gracefully. * Fix linting
This commit is contained in:
committed by
Philipp Moritz
parent
b316afeb43
commit
515da7721a
@@ -90,12 +90,12 @@ def throw_exception_fct3(x):
|
||||
|
||||
|
||||
@ray.remote
|
||||
def python_mode_f():
|
||||
def local_mode_f():
|
||||
return np.array([0, 0])
|
||||
|
||||
|
||||
@ray.remote
|
||||
def python_mode_g(x):
|
||||
def local_mode_g(x):
|
||||
x[0] = 1
|
||||
return x
|
||||
|
||||
|
||||
Reference in New Issue
Block a user