logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                               rte_ml_io_info(3)

Detailed Description

       Input and output data information structure

       Specifies the type and shape of input and output data.

       Definition at line 938 of file rte_mldev.h.

Field Documentation

charname[RTE_ML_STR_MAX]
       Name of data

       Definition at line 939 of file rte_mldev.h.

   uint32_tnb_dims
       Number of dimensions in shape

       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.

       Definition at line 943 of file rte_mldev.h.

   enumrte_ml_io_typetype
       Type of data

       Seealso
           enum rte_ml_io_type

       Definition at line 945 of file rte_mldev.h.

   uint64_tnb_elements
       Number of elements in tensor

       Definition at line 949 of file rte_mldev.h.

   uint64_tsize
       Size of tensor in bytes

       Definition at line 951 of file rte_mldev.h.

   floatscale
       Scale factor

       Definition at line 953 of file rte_mldev.h.

   int64_tzero_point
       Zero point

       Definition at line 955 of file rte_mldev.h.

Name

       rte_ml_io_info

Synopsis

       #include <rte_mldev.h>

   DataFields
       char name [RTE_ML_STR_MAX]
       uint32_t nb_dims
       uint32_t * shape
       enum rte_ml_io_typetype
       uint64_t nb_elements
       uint64_t size
       float scale
       int64_t zero_point

See Also