Constructor
importObject can also be a LibraryProvider object, a WASI object, or an object containing wasmLibraryProvider field.
The input module or instance.
The imports to initialize the wasmInstance if it is not provided.
Additional wasm instance argument for deferred construction.
Directly specified environment module.
Create a new graph executor.
The graph executor json file.
The underlying library.
The execution device of the graph.
Create an empty NDArray with given shape and dtype.
The shape of the array.
The data type of the array.
The device of the ndarray.
The created ndarray.
Get global PackedFunc from the runtime.
The name of the function.
The result function.
Initialize webgpu in the runtime.
The given GPU device.
Check if func is PackedFunc.
The input.
The check result.
List all the global function names registered in the runtime.
The name list.
Register an asyncfunction to be global function in the server.
The name of the function.
function to be registered.
Whether overwrite function in existing registry.
Register function to be global function in tvm runtime.
The name of the function.
Whether overwrite function in existing registry.
Set packed function arguments into the location indicated by argsValue and argsCode. Allocate new temporary space from the stack if necessary.
The input arguments.
The offset of argsValue.
The offset of argsCode.
Get system-wide library module in the wasm. System lib is a global module that contains self register functions in startup.
The system library module.
Convert dtype to DLDataType
The input dtype string or DLDataType.
The converted result.
Convert func to PackedFunc
Input function.
The converted function.
Generated using TypeDoc
TVM runtime instance.