DPDK  23.03.0
Data Fields
rte_ml_model_info Struct Reference

#include <rte_mldev.h>

Data Fields

char name [RTE_ML_STR_MAX]
 
char version [RTE_ML_STR_MAX]
 
uint16_t model_id
 
uint16_t device_id
 
uint16_t batch_size
 
uint32_t nb_inputs
 
const struct rte_ml_io_infoinput_info
 
uint32_t nb_outputs
 
const struct rte_ml_io_infooutput_info
 
uint64_t wb_size
 

Detailed Description

Model information structure

Definition at line 901 of file rte_mldev.h.

Field Documentation

◆ name

char name[RTE_ML_STR_MAX]

Model name.

Definition at line 902 of file rte_mldev.h.

◆ version

char version[RTE_ML_STR_MAX]

Model version

Definition at line 904 of file rte_mldev.h.

◆ model_id

uint16_t model_id

Model ID

Definition at line 906 of file rte_mldev.h.

◆ device_id

uint16_t device_id

Device ID

Definition at line 908 of file rte_mldev.h.

◆ batch_size

uint16_t batch_size

Maximum number of batches that the model can process simultaneously

Definition at line 910 of file rte_mldev.h.

◆ nb_inputs

uint32_t nb_inputs

Number of inputs

Definition at line 912 of file rte_mldev.h.

◆ input_info

const struct rte_ml_io_info* input_info

Input info array. Array size is equal to nb_inputs

Definition at line 914 of file rte_mldev.h.

◆ nb_outputs

uint32_t nb_outputs

Number of outputs

Definition at line 916 of file rte_mldev.h.

◆ output_info

const struct rte_ml_io_info* output_info

Output info array. Array size is equal to nb_output

Definition at line 918 of file rte_mldev.h.

◆ wb_size

uint64_t wb_size

Size of model weights and bias

Definition at line 920 of file rte_mldev.h.


The documentation for this struct was generated from the following file: