tvm
|
Arguments into TVM functions. More...
#include <packed_func.h>
Public Member Functions | |
TVMArgs (const TVMValue *values, const int *type_codes, int num_args) | |
constructor More... | |
int | size () const |
TVMArgValue | operator[] (int i) const |
Get i-th argument. More... | |
template<typename T > | |
T | At (int i) const |
Get the i-th argument and do proper type checking with detailed error messages. More... | |
Public Attributes | |
const TVMValue * | values |
const int * | type_codes |
int | num_args |
Arguments into TVM functions.
|
inline |
constructor
values | The argument values |
type_codes | The argument type codes |
num_args | number of arguments. |
|
inline |
Get the i-th argument and do proper type checking with detailed error messages.
T | The expected type. |
i | The index |
|
inline |
Get i-th argument.
i | the index. |
|
inline |
int tvm::runtime::TVMArgs::num_args |
const int* tvm::runtime::TVMArgs::type_codes |
const TVMValue* tvm::runtime::TVMArgs::values |