| Package | Description |
|---|---|
| org.apache.tvm | |
| org.apache.tvm.contrib | |
| org.apache.tvm.rpc |
| Modifier and Type | Method and Description |
|---|---|
Function |
TVMValue.asFunction() |
Function |
Function.asFunction()
Easy for user to get the instance from returned TVMValue.
|
static Function |
Function.convertFunc(Function.Callback function)
Convert a Java function to TVM function.
|
Function |
Module.entryFunc()
Get the entry function.
|
static Function |
APIInternal.get(String name)
Get a tvm api function according by name.
|
static Function |
API.get(String name)
Get a tvm api function according by name.
|
Function |
Module.getFunction(String name) |
static Function |
Function.getFunction(String name)
Get registered function.
|
Function |
Module.getFunction(String name,
boolean queryImports)
Get function from the module.
|
Function |
Function.pushArg(byte[] arg)
Push argument to the function.
|
Function |
Function.pushArg(double arg)
Push argument to the function.
|
Function |
Function.pushArg(float arg)
Push argument to the function.
|
Function |
Function.pushArg(Function arg)
Push argument to the function.
|
Function |
Function.pushArg(int arg)
Push argument to the function.
|
Function |
Function.pushArg(long arg)
Push argument to the function.
|
Function |
Function.pushArg(Module arg)
Push argument to the function.
|
Function |
Function.pushArg(NDArrayBase arg)
Push argument to the function.
|
Function |
Function.pushArg(String arg)
Push argument to the function.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
Function.pushArg(Function arg)
Push argument to the function.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
GraphModule.getFunction(String key)
Get internal module function.
|
| Modifier and Type | Method and Description |
|---|---|
Function |
SocketChannel.getFrecv() |
Function |
SocketChannel.getFsend() |
Function |
RPCSession.getFunction(String name)
Get function from the session.
|
| Constructor and Description |
|---|
NativeServerLoop(Function fsend,
Function frecv)
Constructor for NativeServerLoop.
|
Copyright © 2021. All rights reserved.