Array Properties - Array Properties - 2026.1 English - UG1864

Vitis Functional Simulation User Guide (UG1864)

Document_ID
UG1864
Release_Date
2026-06-23
Version
2026.1 English
a = va.array([1, 2, 3, 4, 5, 6], dtype=va.int32)

a.shape   # (6,)
a.ndim    # 1
a.size    # 6
a.dtype   # <class 'varray.dtype.int32.int32'>
a.bytes   # np.ndarray(dtype=uint8), little-endian byte image of the data