---
name: "rte_ml_io_info"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_ml_io_info"
---

# rte\_ml\_io\_info(3)

## NAME

rte\_ml\_io\_info

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

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

### char name\[RTE\_ML\_STR\_MAX\]

Name of data

Definition at line **939** of file **rte\_mldev.h**.

### uint32\_t nb\_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**.

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

Definition at line **949** of file **rte\_mldev.h**.

### uint64\_t size

Size of tensor in bytes

Definition at line **951** of file **rte\_mldev.h**.

### float scale

Scale factor

Definition at line **953** of file **rte\_mldev.h**.

### int64\_t zero\_point

Zero point

Definition at line **955** of file **rte\_mldev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
