forked from nudt_dsp/netrans
38 lines
867 B
C
38 lines
867 B
C
/****************************************************************************
|
|
* Generated by NETRANS #NETRANS_VERSION#
|
|
* Match ovxlib #OVXLIB_VERSION#
|
|
*
|
|
* Neural Network global header file
|
|
****************************************************************************/
|
|
#ifndef _VNN_GLOBAL_H_
|
|
#define _VNN_GLOBAL_H_
|
|
|
|
typedef struct {
|
|
uint32_t graph_input_idx;
|
|
vsi_nn_preprocess_base_t *preprocesses;
|
|
uint32_t preprocess_count;
|
|
} vsi_nn_preprocess_map_element_t;
|
|
|
|
|
|
typedef struct {
|
|
uint32_t graph_output_idx;
|
|
vsi_nn_postprocess_base_t *postprocesses;
|
|
uint32_t postprocess_count;
|
|
} vsi_nn_postprocess_map_element_t;
|
|
|
|
#ifndef VSI_SIZE_T
|
|
typedef uint32_t vsi_size_t;
|
|
typedef int32_t vsi_ssize_t;
|
|
#endif
|
|
|
|
#ifdef _WIN32
|
|
#define VSI_FSEEK _fseeki64
|
|
#else
|
|
#define VSI_FSEEK fseek
|
|
#endif
|
|
|
|
/*
|
|
* This file will be deprecated in the future
|
|
*/
|
|
|
|
#endif |