DPDK  24.03.0
Data Fields
rte_ml_io_info Struct Reference

#include <rte_mldev.h>

Data Fields

char name [RTE_ML_STR_MAX]
 
uint32_t nb_dims
 
uint32_t * shape
 
enum rte_ml_io_type type
 
uint64_t size
 

Detailed Description

Input and output data information structure

Specifies the type and shape of input and output data.

Definition at line 925 of file rte_mldev.h.

Field Documentation

◆ name

char name[RTE_ML_STR_MAX]

Name of data

Definition at line 926 of file rte_mldev.h.

◆ nb_dims

uint32_t nb_dims

Number of dimensions in shape

Definition at line 928 of file rte_mldev.h.

◆ shape

uint32_t* shape

Shape of the tensor for rte_ml_model_info::min_batches of the model.

Definition at line 930 of file rte_mldev.h.

◆ type

enum rte_ml_io_type type

Type of data

See also
enum rte_ml_io_type

Definition at line 932 of file rte_mldev.h.

◆ size

uint64_t size

Number of elements in tensor

Definition at line 938 of file rte_mldev.h.


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