mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 08:47:49 +08:00
Rename function to make actor example correct (#5432)
This commit is contained in:
committed by
Richard Liaw
parent
61b23a9a70
commit
158567b952
@@ -47,7 +47,7 @@ To use Ray's actor model:
|
||||
def __init__(self):
|
||||
self.n = 0
|
||||
|
||||
def inc(self):
|
||||
def increment(self):
|
||||
self.n += 1
|
||||
|
||||
def read(self):
|
||||
|
||||
Reference in New Issue
Block a user