![]() |
TI Deep Learning Product User Guide
|
This file defines the public interface for TVM Runtime API This same API supports a client on a different CPU, out-of-process on the same CPU, or in-process.
Go to the source code of this file.
#define | TVMRT_MAX_INPUT_TENSORS (16U) |
#define | TVMRT_MAX_TOTAL_INPUT_TENSOR_NAMES_SIZE (512U) |
#define | TVMRT_MAX_TOTAL_TENSORS (32U) |
#define | TVMRT_MAX_TENSOR_DIM (8) |
int32_t | TVMRT_create (sTVMRT_Params_t *prms, void **handle) |
int32_t | TVMRT_invoke (void *handle, sTVMRT_Tensor_t *in[], sTVMRT_Tensor_t *out[]) |
int32_t | TVMRT_deactivate (void *handle) |
int32_t | TVMRT_delete (void *handle) |
int32_t | TVMRT_setParamsDefault (sTVMRT_Params_t *prms) |
Data Structures | |
struct | sTVMRT_TensorParams_t |
Parameters describing a TVMRT Tensor. More... | |
struct | sTVMRT_Tensor_t |
TVMRT Tensor for TVMRT_invoke. More... | |
struct | sTVMRT_Params_t |
TVMRT configuration parameters. More... | |
#define TVMRT_MAX_INPUT_TENSORS (16U) |
#define TVMRT_MAX_TOTAL_INPUT_TENSOR_NAMES_SIZE (512U) |
#define TVMRT_MAX_TOTAL_TENSORS (32U) |
#define TVMRT_MAX_TENSOR_DIM (8) |
int32_t TVMRT_create | ( | sTVMRT_Params_t * | prms, |
void ** | handle | ||
) |
int32_t TVMRT_invoke | ( | void * | handle, |
sTVMRT_Tensor_t * | in[], | ||
sTVMRT_Tensor_t * | out[] | ||
) |
int32_t TVMRT_deactivate | ( | void * | handle | ) |
int32_t TVMRT_delete | ( | void * | handle | ) |
int32_t TVMRT_setParamsDefault | ( | sTVMRT_Params_t * | prms | ) |