SHL 2.2.x
Loading...
Searching...
No Matches
csinn_session Struct Reference

#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
 

Detailed Description

CSI-NN session

Member Data Documentation

◆ base_dtype

int32_t csinn_session::base_dtype

The basic data type, which is used as the default data type for subsequent tensor allocation

◆ base_layout

int32_t csinn_session::base_layout

The basic data layout is used as the default data layout for subsequent tensor allocation

◆ base_api

int32_t csinn_session::base_api

The basic operator type, which is used as the basic attribute of subsequent operators

◆ base_run_mode

int32_t csinn_session::base_run_mode

The basic execution mode of subsequent operators

◆ base_quant_type

enum csinn_quant_enum csinn_session::base_quant_type

Basic quantization type

◆ model

struct csinn_model csinn_session::model

Model information

◆ debug_level

int32_t csinn_session::debug_level

Debugging level

◆ profiler_level

int32_t csinn_session::profiler_level

Performance analysis level

◆ input_num

int32_t csinn_session::input_num

The number of input

◆ output_num

int32_t csinn_session::output_num

The number of output

◆ input

struct csinn_tensor** csinn_session::input

Point to all inputs

◆ output

struct csinn_tensor** csinn_session::output

Point to all outputs

◆ td

void* csinn_session::td

Refers to private data, which can generally point to the structure representing the graph in the driver

◆ dynamic_shape

bool csinn_session::dynamic_shape

Wether to infer shape