|
SHL 2.2.x
|
#include <csinn_data_structure.h>
Public Attributes | |
| int32_t | base_dtype |
| int32_t | base_layout |
| int32_t | base_api |
| int32_t | base_run_mode |
| enum csinn_quant_enum | base_quant_type |
| struct csinn_model | model |
| int32_t | debug_level |
| int32_t | profiler_level |
| int32_t | input_num |
| int32_t | output_num |
| struct csinn_tensor ** | input |
| struct csinn_tensor ** | output |
| void * | td |
| bool | dynamic_shape |
CSI-NN session
| int32_t csinn_session::base_dtype |
The basic data type, which is used as the default data type for subsequent tensor allocation
| int32_t csinn_session::base_layout |
The basic data layout is used as the default data layout for subsequent tensor allocation
| int32_t csinn_session::base_api |
The basic operator type, which is used as the basic attribute of subsequent operators
| int32_t csinn_session::base_run_mode |
The basic execution mode of subsequent operators
| enum csinn_quant_enum csinn_session::base_quant_type |
Basic quantization type
| struct csinn_model csinn_session::model |
Model information
| int32_t csinn_session::debug_level |
Debugging level
| int32_t csinn_session::profiler_level |
Performance analysis level
| int32_t csinn_session::input_num |
The number of input
| int32_t csinn_session::output_num |
The number of output
| struct csinn_tensor** csinn_session::input |
Point to all inputs
| struct csinn_tensor** csinn_session::output |
Point to all outputs
| void* csinn_session::td |
Refers to private data, which can generally point to the structure representing the graph in the driver
| bool csinn_session::dynamic_shape |
Wether to infer shape