rte_ml_model_info(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… rte_ml_model_info(3) β€” the model-info page, but make it make sense ✨

okay bestie, welcome to rte_ml_model_info(3), and yes the manual name is literally Library Functions Manual β€” so you know exactly what kind of page you wandered into. This one is all about the model information structure, and it's giving data-fields realness. No cap, every field, every description, and every line number is staying right here. πŸ’…


✨ NAME ✨

rte_ml_model_info β€” the model information structure. Short, iconic, to the point. πŸŽ€


🌸 SYNOPSIS 🌸

First, the include, exactly as written, no edits:

#include <rte_mldev.h>

πŸ¦‹ Data Fields πŸ¦‹

Here's the full cast, bestie β€” nobody left out, nobody merged, nobody renamed:

char name [RTE_ML_STR_MAX]
char version [RTE_ML_STR_MAX]
uint16_t model_id
uint16_t device_id
enum rte_ml_io_layout io_layout
uint16_t min_batches
uint16_t max_batches
uint32_t nb_inputs
const struct rte_ml_io_info * input_info
uint32_t nb_outputs
const struct rte_ml_io_info * output_info
uint64_t wb_size

πŸ’– Detailed Description πŸ’–

Model information structure

Definition at line 960 of file rte_mldev.h.


πŸŽ€ Field Documentation πŸŽ€

okay now the field-by-field lore, with the exact signatures and line numbers so nobody comes for me:

🌸 char name[RTE_ML_STR_MAX]

Model name.

Definition at line 961 of file rte_mldev.h.

πŸ¦‹ char version[RTE_ML_STR_MAX]

Model version

Definition at line 963 of file rte_mldev.h.

⭐ uint16_t model_id

Model ID

Definition at line 965 of file rte_mldev.h.

πŸ’œ uint16_t device_id

Device ID

Definition at line 967 of file rte_mldev.h.

πŸŽ€ enum rte_ml_io_layout io_layout

I/O buffer layout for the model

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

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

Definition at line 975 of file rte_mldev.h.

🌈 uint32_t nb_inputs

Number of inputs

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

Definition at line 981 of file rte_mldev.h.

πŸ“ uint32_t nb_outputs

Number of outputs

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 β€” and yes, the page says nb_output, not nb_outputs, so I'm not "fixing" it. That's literally what's written πŸ’€

Definition at line 985 of file rte_mldev.h.

πŸ‘‘ uint64_t wb_size

Size of model weights and bias

Definition at line 987 of file rte_mldev.h.


πŸ’Œ Author πŸ’Œ

Generated automatically by Doxygen for DPDK from the source code.

obsessed with automation honestly. 🫢


okay that's the whole page, bestie β€” source: DPDK; version: 26.03.0; date: not listed in this footer, so I'm not inventing one πŸ’œ. Byeee, catch you in the next manpage πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from