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_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 πŸŽ€

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