| 程序包 | 说明 |
|---|---|
| io.ray.api.call | |
| io.ray.api.runtime |
| 限定符和类型 | 方法和说明 |
|---|---|
PyActorHandle |
PyActorCreator.remote()
Create a python actor remotely and return a handle to the created actor.
|
| 构造器和说明 |
|---|
PyActorTaskCaller(PyActorHandle actor,
PyActorMethod<R> method,
Object[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
PyActorHandle |
RayRuntime.createActor(PyActorClass pyActorClass,
Object[] args,
ActorCreationOptions options)
Create a Python actor on a remote node.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectRef |
RayRuntime.callActor(PyActorHandle pyActor,
PyActorMethod pyActorMethod,
Object[] args)
Invoke a remote Python function on an actor.
|
Copyright © 2021. All rights reserved.