rte_ml_io_info(3)
๐ NAME ๐
rte_ml_io_info โ bestie, this is the struct that tells you everything about your model's input and output data ๐ซถ
โจ SYNOPSIS โจ
#include <rte_mldev.h>
๐ Data Fields ๐
char name [RTE_ML_STR_MAX]uint32_t nb_dimsuint32_t * shapeenum rte_ml_io_type typeuint64_t nb_elementsuint64_t sizefloat scaleint64_t zero_point
๐ Detailed Description ๐
Okay so this is the input and output data information structure โจ
It literally specifies the type and shape of input and output data. That's the whole vibe, no cap ๐
Definition at line 938 of file rte_mldev.h.
๐ธ Field Documentation ๐ธ
char name[RTE_ML_STR_MAX]
The name of data ๐ท๏ธ iconic, we love a label
Definition at line 939 of file rte_mldev.h.
uint32_t nb_dims
Number of dimensions in shape ๐ count 'em up bestie
Definition at line 941 of file rte_mldev.h.
uint32_t* shape
The shape of the tensor for rte_ml_model_info::min_batches of the model ๐บ (yes, that's the exact reference, don't come for me)
Definition at line 943 of file rte_mldev.h.
enum rte_ml_io_type type
Type of data ๐ฅ
See also: enum rte_ml_io_type ๐
Definition at line 945 of file rte_mldev.h.
uint64_t nb_elements
Number of elements in tensor ๐งฎ every single one
Definition at line 949 of file rte_mldev.h.
uint64_t size
Size of tensor in bytes ๐ bytes, not vibes (well, also vibes)
Definition at line 951 of file rte_mldev.h.
float scale
Scale factor โ๏ธ she's a float, she's precise
Definition at line 953 of file rte_mldev.h.
int64_t zero_point
Zero point 0๏ธโฃ the origin of the whole situation
Definition at line 955 of file rte_mldev.h.
๐ Author ๐
Generated automatically by Doxygen for DPDK from the source code ๐คโจ (yeah the robot wrote it, but I translated it into feelings)
And that's the whole page, bestie! ๐ This one's from DPDK Version 25.11.3 โ mwah, slay, go read your rte_mldev.h and thrive ๐๐ฆ
๐ฆ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 ยท BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms