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_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 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