| 程序包 | 说明 |
|---|---|
| io.ray.api.call | |
| io.ray.api.function | |
| io.ray.api.runtime |
| 构造器和说明 |
|---|
PyTaskCaller(PyFunction<R> func,
Object[] args) |
| 限定符和类型 | 方法和说明 |
|---|---|
static PyFunction<Object> |
PyFunction.of(String moduleName,
String functionName)
Create a python function.
|
static <R> PyFunction<R> |
PyFunction.of(String moduleName,
String functionName,
Class<R> returnType)
Create a python function.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ObjectRef |
RayRuntime.call(PyFunction pyFunction,
Object[] args,
CallOptions options)
Invoke a remote Python function.
|
Copyright © 2021. All rights reserved.