Index

A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

API - Class in org.apache.tvm
TVM API functions.
APIInternal - Class in org.apache.tvm
Internal api functions.
ArgTypeCode - Enum Class in org.apache.tvm
 
ARRAY_HANDLE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
asByteArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asBytes() - Method in class org.apache.tvm.TVMValue
 
asBytes() - Method in class org.apache.tvm.TVMValueBytes
 
asCharArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asDouble() - Method in class org.apache.tvm.TVMValue
 
asDouble() - Method in class org.apache.tvm.TVMValueDouble
 
asDoubleArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asFloatArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asFunction() - Method in class org.apache.tvm.Function
Easy for user to get the instance from returned TVMValue.
asFunction() - Method in class org.apache.tvm.TVMValue
 
asHandle() - Method in class org.apache.tvm.TVMValueHandle
 
asIntArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asLong() - Method in class org.apache.tvm.TVMValue
 
asLong() - Method in class org.apache.tvm.TVMValueLong
 
asLongArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asModule() - Method in class org.apache.tvm.Module
Easy for user to get the instance from returned TVMValue.
asModule() - Method in class org.apache.tvm.TVMValue
 
asNDArray() - Method in class org.apache.tvm.NDArrayBase
 
asNDArray() - Method in class org.apache.tvm.TVMValue
 
asShortArray() - Method in class org.apache.tvm.NDArray
Return a copied flat java array of current array (row-major).
asString() - Method in class org.apache.tvm.TVMValue
 
asString() - Method in class org.apache.tvm.TVMValueString
 

B

bits - Variable in class org.apache.tvm.TVMType
 
BYTES - Enum constant in enum class org.apache.tvm.ArgTypeCode
 

C

call(Object...) - Method in class org.apache.tvm.Function
Invoke function with arguments.
cl() - Method in class org.apache.tvm.rpc.RPCSession
Construct remote OpenCL device.
cl(int) - Method in class org.apache.tvm.rpc.RPCSession
Construct remote OpenCL device.
Client - Class in org.apache.tvm.rpc
 
Client() - Constructor for class org.apache.tvm.rpc.Client
 
connect(String, int) - Static method in class org.apache.tvm.rpc.Client
Connect to RPC Server.
connect(String, int, String) - Static method in class org.apache.tvm.rpc.Client
Connect to RPC Server.
ConnectProxyServerProcessor - Class in org.apache.tvm.rpc
Server processor for proxy connection.
ConnectProxyServerProcessor(String, int, String) - Constructor for class org.apache.tvm.rpc.ConnectProxyServerProcessor
Construct proxy server processor.
ConnectTrackerServerProcessor - Class in org.apache.tvm.rpc
Server processor with tracker connection (based on standalone).
ConnectTrackerServerProcessor(String, int, String, RPCWatchdog) - Constructor for class org.apache.tvm.rpc.ConnectTrackerServerProcessor
Construct tracker server processor.
convertFunc(Function.Callback) - Static method in class org.apache.tvm.Function
Convert a Java function to TVM function.
copyFrom(byte[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFrom(char[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFrom(double[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFrom(float[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFrom(int[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFrom(long[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFrom(short[]) - Method in class org.apache.tvm.NDArray
Copy from a native array.
copyFromRaw(byte[]) - Method in class org.apache.tvm.NDArray
Copy from a raw byte array.
copyTo(NDArrayBase) - Method in class org.apache.tvm.NDArrayBase
Copy array to target.
cpu() - Static method in class org.apache.tvm.Device
 
cpu() - Method in class org.apache.tvm.rpc.RPCSession
Construct remote CPU device.
cpu(int) - Static method in class org.apache.tvm.Device
Construct a CPU device.
cpu(int) - Method in class org.apache.tvm.rpc.RPCSession
Construct remote CPU device.
create(String, Module, Device) - Static method in class org.apache.tvm.contrib.GraphExecutor
Create a runtime executor module given a graph and module.
cuda() - Static method in class org.apache.tvm.Device
 
cuda() - Method in class org.apache.tvm.rpc.RPCSession
Construct remote CUDA GPU device.
cuda(int) - Static method in class org.apache.tvm.Device
Construct a CUDA GPU device.
cuda(int) - Method in class org.apache.tvm.rpc.RPCSession
Construct remote CUDA GPU device.

D

debugGetOutput(int, NDArray) - Method in class org.apache.tvm.contrib.GraphModule
Run graph up to node and get the output to out.
debugGetOutput(String, NDArray) - Method in class org.apache.tvm.contrib.GraphModule
Run graph up to node and get the output to out.
device() - Method in class org.apache.tvm.NDArray
Get the device of current array.
device(int) - Method in class org.apache.tvm.rpc.RPCSession
Construct a remote device.
device(int, int) - Method in class org.apache.tvm.rpc.RPCSession
Construct a remote device.
device(String) - Method in class org.apache.tvm.rpc.RPCSession
Construct a remote device.
device(String, int) - Method in class org.apache.tvm.rpc.RPCSession
Construct a remote device.
Device - Class in org.apache.tvm
 
Device(int, int) - Constructor for class org.apache.tvm.Device
 
Device(String, int) - Constructor for class org.apache.tvm.Device
 
deviceId - Variable in class org.apache.tvm.Device
 
deviceType - Variable in class org.apache.tvm.Device
 
DLDEVICE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
download(String) - Method in class org.apache.tvm.rpc.RPCSession
Download file from remote temp folder.

E

empty(long[]) - Static method in class org.apache.tvm.NDArray
Create an empty float32 array on cpu given shape.
empty(long[], Device) - Static method in class org.apache.tvm.NDArray
Create an empty float32 array given shape and device.
empty(long[], TVMType) - Static method in class org.apache.tvm.NDArray
Create an empty array on cpu given shape and type.
empty(long[], TVMType, Device) - Static method in class org.apache.tvm.NDArray
Create an empty array given shape, type and device.
enabled(String) - Static method in class org.apache.tvm.Module
Whether module runtime is enabled for target, e.g., The following code checks if cuda is enabled.
entryFunc() - Method in class org.apache.tvm.Module
Get the entry function.
equals(Object) - Method in class org.apache.tvm.Device
 
equals(Object) - Method in class org.apache.tvm.TVMType
 
exist() - Method in class org.apache.tvm.Device
Whether this device exists.

F

finalize() - Method in class org.apache.tvm.Function
 
finalize() - Method in class org.apache.tvm.Module
 
finalize() - Method in class org.apache.tvm.NDArray
 
finalize() - Method in class org.apache.tvm.NDArrayBase
 
finishTimeout() - Method in class org.apache.tvm.rpc.RPCWatchdog
Finish a timeout with watchdog (must be called after startTimeout).
FLOAT - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
FLOAT - Static variable in class org.apache.tvm.TVMType
 
FUNC_HANDLE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
Function - Class in org.apache.tvm
TVM Packed Function.
Function.Callback - Interface in org.apache.tvm
 

G

get(String) - Static method in class org.apache.tvm.API
Get a tvm api function according by name.
get(String) - Static method in class org.apache.tvm.APIInternal
Get a tvm api function according by name.
GET_PENDING_MATCHKEYS - Static variable in class org.apache.tvm.rpc.RPC.TrackerCode
 
getFrecv() - Method in class org.apache.tvm.rpc.SocketChannel
 
getFsend() - Method in class org.apache.tvm.rpc.SocketChannel
 
getFunction(String) - Method in class org.apache.tvm.contrib.GraphModule
Get internal module function.
getFunction(String) - Static method in class org.apache.tvm.Function
Get registered function.
getFunction(String) - Method in class org.apache.tvm.Module
 
getFunction(String) - Method in class org.apache.tvm.rpc.RPCSession
Get function from the session.
getFunction(String, boolean) - Method in class org.apache.tvm.Module
Get function from the module.
getInput(int, NDArray) - Method in class org.apache.tvm.contrib.GraphModule
Get index-th input to out.
getMatchKey() - Method in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
getOutput(int, NDArray) - Method in class org.apache.tvm.contrib.GraphModule
Get index-th output to out.
GraphExecutor - Class in org.apache.tvm.contrib
 
GraphExecutor() - Constructor for class org.apache.tvm.contrib.GraphExecutor
 
GraphModule - Class in org.apache.tvm.contrib
Wrapper runtime module.
GraphModule(Module, Device) - Constructor for class org.apache.tvm.contrib.GraphModule
 

H

handle - Variable in class org.apache.tvm.Module
 
handle - Variable in class org.apache.tvm.NDArrayBase
 
HANDLE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
HANDLE - Static variable in class org.apache.tvm.TVMType
 
HARD_TIMEOUT_DEFAULT - Static variable in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
hashCode() - Method in class org.apache.tvm.Device
 
hashCode() - Method in class org.apache.tvm.TVMType
 
hexagon() - Static method in class org.apache.tvm.Device
 
hexagon(int) - Static method in class org.apache.tvm.Device
Construct a Hexagon device.

I

id - Variable in enum class org.apache.tvm.ArgTypeCode
 
importModule(Module) - Method in class org.apache.tvm.Module
Add module to the import list of current one.
INT - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
INT - Static variable in class org.apache.tvm.TVMType
 
internal() - Method in class org.apache.tvm.NDArray
Return a copied internal byte array of current array (row-major).
invoke() - Method in class org.apache.tvm.Function
Invoke the function.
invoke(TVMValue...) - Method in interface org.apache.tvm.Function.Callback
 
isResident - Variable in class org.apache.tvm.Function
 
isView - Variable in class org.apache.tvm.NDArrayBase
 

L

lanes - Variable in class org.apache.tvm.TVMType
 
load(String) - Static method in class org.apache.tvm.Module
 
load(String, String) - Static method in class org.apache.tvm.Module
Load module from file.
loadModule(String) - Method in class org.apache.tvm.rpc.RPCSession
Load a remote module, the file need to be uploaded first.
loadParams(byte[]) - Method in class org.apache.tvm.contrib.GraphModule
Load parameters from serialized byte array of parameter dict.

M

MAX_SERVER_PORT - Static variable in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
maxThreadsPerBlock() - Method in class org.apache.tvm.Device
Maximum number of threads on each block.
metal() - Static method in class org.apache.tvm.Device
 
metal() - Method in class org.apache.tvm.rpc.RPCSession
Construct remote Metal device.
metal(int) - Static method in class org.apache.tvm.Device
Construct a metal device.
metal(int) - Method in class org.apache.tvm.rpc.RPCSession
Construct remote Metal device.
Module - Class in org.apache.tvm
Container of compiled functions of TVM.
MODULE_HANDLE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 

N

NativeServerLoop - Class in org.apache.tvm.rpc
Call native ServerLoop on socket file descriptor.
NativeServerLoop(Function, Function) - Constructor for class org.apache.tvm.rpc.NativeServerLoop
Constructor for NativeServerLoop.
NDArray - Class in org.apache.tvm
Lightweight NDArray class of TVM runtime.
NDARRAY_CONTAINER - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
NDArrayBase - Class in org.apache.tvm
Base class of NDArray.
NODE_HANDLE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
NULL - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
numOfBytes - Variable in class org.apache.tvm.TVMType
 

O

opencl() - Static method in class org.apache.tvm.Device
 
opencl(int) - Static method in class org.apache.tvm.Device
Construct a OpenCL device.
org.apache.tvm - package org.apache.tvm
 
org.apache.tvm.contrib - package org.apache.tvm.contrib
 
org.apache.tvm.rpc - package org.apache.tvm.rpc
 

P

pushArg(byte[]) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(double) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(float) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(int) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(long) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(String) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(Device) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(Function) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(Module) - Method in class org.apache.tvm.Function
Push argument to the function.
pushArg(NDArrayBase) - Method in class org.apache.tvm.Function
Push argument to the function.
PUT - Static variable in class org.apache.tvm.rpc.RPC.TrackerCode
 

R

register(String, Function.Callback) - Static method in class org.apache.tvm.Function
Register user-defined global function, do not override existing entry.
register(String, Function.Callback, boolean) - Static method in class org.apache.tvm.Function
Register user-defined global function.
release() - Method in class org.apache.tvm.contrib.GraphModule
Release the GraphModule.
release() - Method in class org.apache.tvm.Function
Release the Function.
release() - Method in class org.apache.tvm.Module
Release the Module.
release() - Method in class org.apache.tvm.NDArrayBase
Release the NDArray memory.
release() - Method in class org.apache.tvm.TVMValue
 
RETRY_PERIOD - Static variable in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
RPC - Class in org.apache.tvm.rpc
 
RPC() - Constructor for class org.apache.tvm.rpc.RPC
 
RPC_CODE_MISMATCH - Static variable in class org.apache.tvm.rpc.RPC
 
RPC_MAGIC - Static variable in class org.apache.tvm.rpc.RPC
 
RPC_SESS_MASK - Static variable in class org.apache.tvm.rpc.RPC
 
RPC_TRACKER_MAGIC - Static variable in class org.apache.tvm.rpc.RPC
 
RPC.TrackerCode - Class in org.apache.tvm.rpc
 
rpcSession - Variable in class org.apache.tvm.rpc.TVMRemoteDevice
 
RPCSession - Class in org.apache.tvm.rpc
RPC Client session module.
RPCWatchdog - Class in org.apache.tvm.rpc
Watchdog for RPC.
RPCWatchdog() - Constructor for class org.apache.tvm.rpc.RPCWatchdog
 
run() - Method in class org.apache.tvm.contrib.GraphModule
Run forward execution of the graph.
run() - Method in class org.apache.tvm.rpc.ConnectProxyServerProcessor
 
run() - Method in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
run() - Method in class org.apache.tvm.rpc.NativeServerLoop
 
run() - Method in class org.apache.tvm.rpc.RPCWatchdog
Wait and kill RPC if timeout is exceeded.
run() - Method in class org.apache.tvm.rpc.StandaloneServerProcessor
 

S

Server - Class in org.apache.tvm.rpc
RPC Server.
Server(int) - Constructor for class org.apache.tvm.rpc.Server
Start a standalone server.
Server(String, int, String) - Constructor for class org.apache.tvm.rpc.Server
Start a server connected to proxy.
ServerProcessor - Interface in org.apache.tvm.rpc
Abstract runnable class for RPC server process.
setInput(int, NDArray) - Method in class org.apache.tvm.contrib.GraphModule
Set inputs to the module.
setInput(String, NDArray) - Method in class org.apache.tvm.contrib.GraphModule
Set inputs to the module.
setStartTimeCallback(Runnable) - Method in class org.apache.tvm.rpc.ConnectProxyServerProcessor
Set a callback when a connection is received e.g., to record the time for a watchdog.
shape() - Method in class org.apache.tvm.NDArray
Get shape of current NDArray.
size() - Method in class org.apache.tvm.NDArray
Get total size of current NDArray.
SocketChannel - Class in org.apache.tvm.rpc
 
STALE_TRACKER_TIMEOUT - Static variable in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
StandaloneServerProcessor - Class in org.apache.tvm.rpc
Server processor for standalone.
StandaloneServerProcessor(int) - Constructor for class org.apache.tvm.rpc.StandaloneServerProcessor
 
start() - Method in class org.apache.tvm.rpc.Server
Start the server.
startTimeout(int) - Method in class org.apache.tvm.rpc.RPCWatchdog
Start a timeout with watchdog (must be called before finishTimeout).
STR - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
SUCCESS - Static variable in class org.apache.tvm.rpc.RPC.TrackerCode
 
sync() - Method in class org.apache.tvm.Device
Synchronize until jobs finished at the device.

T

terminate() - Method in class org.apache.tvm.rpc.ConnectProxyServerProcessor
Close the socket.
terminate() - Method in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
terminate() - Method in class org.apache.tvm.rpc.RPCWatchdog
Default method to terminate the running RPCActivity process.
terminate() - Method in class org.apache.tvm.rpc.Server
Stop the server.
terminate() - Method in interface org.apache.tvm.rpc.ServerProcessor
 
terminate() - Method in class org.apache.tvm.rpc.StandaloneServerProcessor
 
TIMEOUT_ARG - Static variable in class org.apache.tvm.rpc.RPC
 
toString() - Method in enum class org.apache.tvm.ArgTypeCode
 
toString() - Method in class org.apache.tvm.Device
 
toString() - Method in class org.apache.tvm.TVMType
 
TRACKER_TIMEOUT - Static variable in class org.apache.tvm.rpc.ConnectTrackerServerProcessor
 
TrackerCode() - Constructor for class org.apache.tvm.rpc.RPC.TrackerCode
 
TVM_TYPE - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
TVMRemoteDevice - Class in org.apache.tvm.rpc
 
TVMType - Class in org.apache.tvm
 
TVMType(String) - Constructor for class org.apache.tvm.TVMType
 
TVMType(String, int) - Constructor for class org.apache.tvm.TVMType
TVMType constructor.
TVMValue - Class in org.apache.tvm
 
TVMValue(ArgTypeCode) - Constructor for class org.apache.tvm.TVMValue
 
TVMValueBytes - Class in org.apache.tvm
 
TVMValueBytes(byte[]) - Constructor for class org.apache.tvm.TVMValueBytes
 
TVMValueDouble - Class in org.apache.tvm
 
TVMValueDouble(double) - Constructor for class org.apache.tvm.TVMValueDouble
 
TVMValueHandle - Class in org.apache.tvm
Java class related to TVM handles (ArgTypeCode.HANDLE)
TVMValueHandle(long) - Constructor for class org.apache.tvm.TVMValueHandle
 
TVMValueLong - Class in org.apache.tvm
 
TVMValueLong(long) - Constructor for class org.apache.tvm.TVMValueLong
 
TVMValueNull - Class in org.apache.tvm
 
TVMValueNull() - Constructor for class org.apache.tvm.TVMValueNull
 
TVMValueString - Class in org.apache.tvm
 
TVMValueString(String) - Constructor for class org.apache.tvm.TVMValueString
 
typeCode - Variable in class org.apache.tvm.TVMType
 
typeCode - Variable in class org.apache.tvm.TVMValue
 
typeKey() - Method in class org.apache.tvm.Module
Get type key of the module.

U

UINT - Enum constant in enum class org.apache.tvm.ArgTypeCode
 
UINT - Static variable in class org.apache.tvm.TVMType
 
UPDATE_INFO - Static variable in class org.apache.tvm.rpc.RPC.TrackerCode
 
upload(byte[], String) - Method in class org.apache.tvm.rpc.RPCSession
Upload binary to remote runtime temp folder.
upload(File) - Method in class org.apache.tvm.rpc.RPCSession
Upload file to remote runtime temp folder.
upload(File, String) - Method in class org.apache.tvm.rpc.RPCSession
Upload file to remote runtime temp folder.

V

value - Variable in class org.apache.tvm.TVMValueBytes
 
value - Variable in class org.apache.tvm.TVMValueDouble
 
value - Variable in class org.apache.tvm.TVMValueHandle
 
value - Variable in class org.apache.tvm.TVMValueLong
 
value - Variable in class org.apache.tvm.TVMValueString
 
valueOf(String) - Static method in enum class org.apache.tvm.ArgTypeCode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.apache.tvm.ArgTypeCode
Returns an array containing the constants of this enum class, in the order they are declared.
vpi() - Static method in class org.apache.tvm.Device
 
vpi(int) - Static method in class org.apache.tvm.Device
Construct a VPI simulated device.
vulkan() - Static method in class org.apache.tvm.Device
 
vulkan() - Method in class org.apache.tvm.rpc.RPCSession
Construct remote OpenCL device.
vulkan(int) - Static method in class org.apache.tvm.Device
Construct a Vulkan device.
vulkan(int) - Method in class org.apache.tvm.rpc.RPCSession
Construct remote OpenCL device.

W

warpSize() - Method in class org.apache.tvm.Device
Number of threads that executes in concurrent.
A B C D E F G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values