DPDK  23.03.0
Data Fields
rte_ml_io_shape Struct Reference

#include <rte_mldev.h>

Data Fields

enum rte_ml_io_format format
 
uint32_t w
 
uint32_t x
 
uint32_t y
 
uint32_t z
 

Detailed Description

Input and output shape. This structure represents the encoding format and dimensions of the tensor or vector.

The data can be a 4D / 3D tensor, matrix, vector or a scalar. Number of dimensions used for the data would depend on the format. Unused dimensions to be set to 1.

Definition at line 872 of file rte_mldev.h.

Field Documentation

◆ format

enum rte_ml_io_format format

Format of the data

Definition at line 873 of file rte_mldev.h.

◆ w

uint32_t w

First dimension

Definition at line 875 of file rte_mldev.h.

◆ x

uint32_t x

Second dimension

Definition at line 877 of file rte_mldev.h.

◆ y

uint32_t y

Third dimension

Definition at line 879 of file rte_mldev.h.

◆ z

uint32_t z

Fourth dimension

Definition at line 881 of file rte_mldev.h.


The documentation for this struct was generated from the following file: