API reference
python:irx:irx.buffer.BufferViewMetadata
class BufferViewMetadata
BufferViewMetadata(data: BufferHandle, owner: BufferHandle, dtype: BufferHandle, ndim: int, shape: tuple[int, ...], strides: tuple[int, ...], offset_bytes: int, flags: int)
Source: packages/irx/src/irx/buffer.py:156
Static metadata for one low-level buffer view descriptor.
Represents the semantic contents of the canonical IRx buffer view. This is not a scientific array object; it is a plain descriptor shape.
Attributes
-
data — Data to process.; Type: BufferHandle
-
owner — Owner keeping the resource alive.; Type: BufferHandle
-
dtype — Element data type.; Type: BufferHandle
-
ndim — Ndim.; Type: int
-
shape — Declared dimensions or result shape.; Type: tuple[int, ...]
-
strides — Strides.; Type: tuple[int, ...]
-
offset_bytes — Offset bytes.; Type: int
-
flags — Flags.; Type: int
Methods
- __init__ —