rte_ml_model_info(3)
πΈ NAME πΈ
rte_ml_model_info β bestie, this is the lil' struct that spills ALL the tea about a model π
(also like, it's from the Library Functions Manual, so you know it's official official)
β¨ SYNOPSIS β¨
#include <rte_mldev.h>
π« Data Fields π«
char name [RTE_ML_STR_MAX]char version [RTE_ML_STR_MAX]uint16_t model_iduint16_t device_idenum rte_ml_io_layout io_layoutuint16_t min_batchesuint16_t max_batchesuint32_t nb_inputsconst struct rte_ml_io_info * input_infouint32_t nb_outputsconst struct rte_ml_io_info * output_infouint64_t wb_size
π DETAILED DESCRIPTION π
okay so literally, this is the Model information structure π«Ά like a lil' ID card for your model β everything you'd ever wanna know about it, all bundled up.
Definition at line 960 of file rte_mldev.h.
π FIELD DOCUMENTATION π
π char name[RTE_ML_STR_MAX]
The model's name. what it's called. its whole identity. iconic behavior honestly β¨
Definition at line 961 of file rte_mldev.h.
πΈ char version[RTE_ML_STR_MAX]
Model version. so you know which era of the model you're dealing with π
Definition at line 963 of file rte_mldev.h.
π¦ uint16_t model_id
Model ID. the model's lil' number-tag, iykyk π₯
Definition at line 965 of file rte_mldev.h.
π uint16_t device_id
Device ID. which device it's vibing on π«
Definition at line 967 of file rte_mldev.h.
π enum rte_ml_io_layout io_layout
I/O buffer layout for the model. like how the buffers are arranged, bestie π§
Definition at line 969 of file rte_mldev.h.
π uint16_t min_batches
Minimum number of batches that the model can process in one inference request. so like, the smallest batch load it will even accept β don't come at it with less π
Definition at line 971 of file rte_mldev.h.
β uint16_t max_batches
Maximum number of batches that the model can process in one inference request. the ceiling, the limit, the "nope that's too much" line π«Ά
Definition at line 975 of file rte_mldev.h.
π uint32_t nb_inputs
Number of inputs. count 'em π
Definition at line 979 of file rte_mldev.h.
π const struct rte_ml_io_info* input_info
Input info array. Array size is equal to nb_inputs. so however many inputs you said you had? yeah, that's how long this array is β math is mathing β¨
Definition at line 981 of file rte_mldev.h.
π uint32_t nb_outputs
Number of outputs. the receipts, counted π
Definition at line 983 of file rte_mldev.h.
πΈ const struct rte_ml_io_info* output_info
Output info array. Array size is equal to nb_output. one more time for the ppl in the back β the array length matches nb_output π«
Definition at line 985 of file rte_mldev.h.
π§ uint64_t wb_size
Size of model weights and bias. yes the weights and bias, the whole brain of it, measured in bytes π
Definition at line 987 of file rte_mldev.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. not a human bestie, a robot wrote the docs π and honestly? it ate.
and that's the whole thing, no cap π«Ά go forth and query your model info, main character energy only.
k byeee β this was DPDK, Version 25.11.3, page rte_ml_model_info(3). mwah π
π¦ 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