Struct representing input/output buffer information.
More...
#include <type.h>
|
| uint32_t | original_size () const |
| | Returns the total size of the original input/output.
|
| uint32_t | reshaped_size () const |
| | Returns the total size of the reshaped input/output.
|
| uint32_t | size () const |
| | Returns the total size of the NPU input/output.
|
Struct representing input/output buffer information.
Definition at line 205 of file type.h.
◆ original_size()
| uint32_t mobilint::BufferInfo::original_size |
( |
| ) |
const |
|
inline |
Returns the total size of the original input/output.
- Returns
- The data size.
Definition at line 226 of file type.h.
◆ reshaped_size()
| uint32_t mobilint::BufferInfo::reshaped_size |
( |
| ) |
const |
|
inline |
Returns the total size of the reshaped input/output.
- Returns
- The data size.
Definition at line 234 of file type.h.
◆ size()
| uint32_t mobilint::BufferInfo::size |
( |
| ) |
const |
|
inline |
Returns the total size of the NPU input/output.
- Returns
- The data size.
Definition at line 242 of file type.h.
◆ original_height
| uint32_t mobilint::BufferInfo::original_height = 0 |
Height of original input/output
Definition at line 207 of file type.h.
◆ original_width
| uint32_t mobilint::BufferInfo::original_width = 0 |
Width of original input/output
Definition at line 208 of file type.h.
◆ original_channel
| uint32_t mobilint::BufferInfo::original_channel = 0 |
Channel of original input/output
Definition at line 209 of file type.h.
◆ reshaped_height
| uint32_t mobilint::BufferInfo::reshaped_height = 0 |
Height of reshaped input/output
Definition at line 210 of file type.h.
◆ reshaped_width
| uint32_t mobilint::BufferInfo::reshaped_width = 0 |
Width of reshaped input/output
Definition at line 211 of file type.h.
◆ reshaped_channel
| uint32_t mobilint::BufferInfo::reshaped_channel = 0 |
Channel of reshaped input/output
Definition at line 212 of file type.h.
◆ height
| uint32_t mobilint::BufferInfo::height = 0 |
Height of NPU input/output
Definition at line 213 of file type.h.
◆ width
| uint32_t mobilint::BufferInfo::width = 0 |
Width of NPU input/output
Definition at line 214 of file type.h.
◆ channel
| uint32_t mobilint::BufferInfo::channel = 0 |
Channel of NPU input/output
Definition at line 215 of file type.h.
◆ max_height
| uint32_t mobilint::BufferInfo::max_height = 0 |
Maximum height of original input/output if data is sequential.
Definition at line 216 of file type.h.
◆ max_width
| uint32_t mobilint::BufferInfo::max_width = 0 |
Maximum width of original input/output if data is sequential.
Definition at line 217 of file type.h.
◆ max_channel
| uint32_t mobilint::BufferInfo::max_channel = 0 |
Maximum channel of original input/output if data is sequential.
Definition at line 218 of file type.h.
◆ max_cache_size
| uint32_t mobilint::BufferInfo::max_cache_size = 0 |
Maximum KV-cache size, relevant for LLM models using KV cache.
Definition at line 219 of file type.h.
The documentation for this struct was generated from the following file: