27 #ifndef TVM_RUNTIME_METADATA_TYPES_H_
28 #define TVM_RUNTIME_METADATA_TYPES_H_
Describes one constant argument to run_model.
Definition: metadata_types.h:94
const void * data_bytes
data bytes of serialized NDArray
Definition: metadata_types.h:102
int64_t byte_offset
Offset in bytes of the constant.
Definition: metadata_types.h:98
const char * name_hint
Name of the constant.
Definition: metadata_types.h:96
int64_t data_len
length of the data_bytes field
Definition: metadata_types.h:100
Describes one tensor argument to run_model. NOTE: while TIR allows for other types of arguments,...
Definition: metadata_types.h:79
int64_t num_shape
Rank of this tensor.
Definition: metadata_types.h:85
DLDataType dtype
Data type of one element of this tensor.
Definition: metadata_types.h:87
const char * name
Name of the tensor, as specified in the Relay program.
Definition: metadata_types.h:81
const int64_t * shape
Shape of the tensor.
Definition: metadata_types.h:83