blob: 02db112c5a741ad57013cbed658aecd62efa95ac [file] [log] [blame]
#ifndef _MAIF_DEF_H_
#define _MAIF_DEF_H_
#include "kal_public_defs.h"
#include "kal_public_api.h"
#define MAIF_MODEL_NAME_MAX_LEN (32)
#define MAIF_MODEL_MAX_BATCH_SIZE (64)
typedef struct
{
LOCAL_PARA_HDR
kal_uint8 model_name[MAIF_MODEL_NAME_MAX_LEN];
kal_uint32 data_width;
kal_uint32 batch_size;
kal_uint32 num_of_data_in_batch;
} maif_model_test_req_struct;
typedef struct
{
LOCAL_PARA_HDR
kal_uint32 predictions[MAIF_MODEL_MAX_BATCH_SIZE];
kal_uint32 num_of_predictions_available;
} maif_model_test_cnf_struct;
#endif