| Package | Description |
|---|---|
| io.ray.api.call | |
| io.ray.api.function | |
| io.ray.api.runtime |
| Constructor and Description |
|---|
PyTaskCaller(PyFunction<R> func,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectRef |
RayRuntime.call(PyFunction pyFunction,
Object[] args,
CallOptions options)
Invoke a remote Python function.
|
Copyright © 2024. All rights reserved.