rte_ml_io_info(3)

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

πŸ’… rte_ml_io_info(3) πŸ’…

okay so bestie, welcome to the rte_ml_io_info(3) page from the Library Functions Manual β€” this is the input and output data information structure, and it’s lowkey the blueprint for your ML input/output glow-up. ✨

✨ NAME ✨

rte_ml_io_info β€” the input and output data information structure that specifies the type and shape of input and output data. No cap. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

#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 nb_elements
  • uint64_t size
  • float scale
  • int64_t zero_point

πŸ’– Detailed Description πŸ’–

Okay so this whole struct is the input and output data information structure. It specifies the type and shape of input and output data β€” literally the vibe check for your I/O tensors. πŸ’…

Definition at line 938 of file rte_mldev.h.

🌸 Field Documentation 🌸

πŸ’– char name[RTE_ML_STR_MAX] πŸ’–

Name of data β€” the tensor’s little name tag. 🏷️

Definition at line 939 of file rte_mldev.h.

πŸŒ€ uint32_t nb_dims πŸŒ€

Number of dimensions in shape. The way that shape is stacked, iykyk. πŸ“š

Definition at line 941 of file rte_mldev.h.

πŸ“ uint32_t* shape πŸ“

Shape of the tensor for rte_ml_model_info::min_batches of the model. It’s giving model-batch geometry realness. ✨

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 β€” that’s the type menu, bestie. 🫢

Definition at line 945 of file rte_mldev.h.

πŸ”’ uint64_t nb_elements πŸ”’

Number of elements in tensor. Count them, periodt. πŸ“

Definition at line 949 of file rte_mldev.h.

πŸ“ uint64_t size πŸ“

Size of tensor in bytes. Yes, bytes β€” not vibes. πŸ’€

Definition at line 951 of file rte_mldev.h.

βš–οΈ float scale βš–οΈ

Scale factor. Slay the scaling. πŸ”₯

Definition at line 953 of file rte_mldev.h.

🎯 int64_t zero_point 🎯

Zero point. That’s the point. πŸŽ€

Definition at line 955 of file rte_mldev.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Automation ate, honestly. πŸ€–πŸ’…


okay bye bestie! πŸ’‹ This footer’s cute sign-off is serving DPDK Version 26.03.0 and the page name rte_ml_io_info(3); the original footer doesn’t list a date, so we’re not inventing one. 🫢✨

πŸ“¦ where this page comes from