mirror of
https://github.com/wassname/ray.git
synced 2026-07-14 11:17:54 +08:00
Change Python's ObjectID to ObjectRef (#9353)
This commit is contained in:
@@ -70,8 +70,8 @@ class Network(object):
|
||||
# yapf: disable
|
||||
# __actor_start__
|
||||
NetworkActor = Network.remote()
|
||||
result_object_id = NetworkActor.train.remote()
|
||||
ray.get(result_object_id)
|
||||
result_object_ref = NetworkActor.train.remote()
|
||||
ray.get(result_object_ref)
|
||||
# __actor_end__
|
||||
# yapf: enable
|
||||
|
||||
|
||||
Reference in New Issue
Block a user