Skip to main content

tcim_lite.runtime

Functions

get_device_numRetrieves the number of Houmo devices with the specified backend name.
get_supported_backendRetrieves the list of backend names supported by the current Houmo device.
get_versionGets the version and release date of the TCIM library.
loadLoads a built TCIM model with the specified model file.
load_model_infoLoads and returns the model information as a JSON string from a binary model file (.hmm or .hmms).

Classes

BufferRepresents a buffer that is used to save data on host CPU and Houmo device.
DevManagerDescribes the device set on which the target model runs.
DeviceThe device type where the data is stored.
ModuleRepresents a module instance used for model inference in runtime.
OptionStatic configuration options for loading models.
RunOptionDynamic options when the module run.
StreamRepresents a stream that is used by the module for inference.
TensorRepresents an input, output, or intermediate computation result.
TensorInfoRepresents information about a tensor, including its shape, data type, memory layout, and other relevant attributes.
WeightManagerRepresents weight manager reference for Module.